Search Type: Posts; User: tretiy3
Search: Search took 0.02 seconds.
-
21 Jul 2012 7:35 AM
Jump to post Thread: complex refs in controller by tretiy3
- Replies
- 1
- Views
- 291
I was trying to attach 'activate' event to that ref.
Possible some components in chain ref [baseCls="for"] [baseCls="bar"]... are not yet constructed, while others are. So activate will not work,... -
21 Jul 2012 6:45 AM
Jump to post Thread: complex refs in controller by tretiy3
- Replies
- 1
- Views
- 291
I am trying to use refs like this one in my controller:
refs:{
test: '[baseCls="foo"] [baseCls="bar"]'
}
I does not work. But it works fine in Ext.ComponentQuery.query('[baseCls="foo"]... -
21 Jul 2012 6:32 AM
- Replies
- 3
- Views
- 464
Just use Ext.Ajax.request()
see example http://docs.sencha.com/touch/2-0/#!/guide/ajax
this is very easy. you variable will apear in callback provide in response.responseText. -
13 May 2012 3:01 AM
Jump to post Thread: Can't update a production build by tretiy3
- Replies
- 17
- Views
- 3,297
Thanks. It works!
-
27 Apr 2012 3:00 AM
- Replies
- 44
- Views
- 29,532
inside my .senchasdk is just on line:
sdk
You can create such file in app folder and sencha command will work fine. -
23 Apr 2012 11:16 AM
Jump to post Thread: Cross reference in "requires" by tretiy3
- Replies
- 2
- Views
- 390
Thanks!
-
22 Apr 2012 10:48 PM
- Replies
- 3
- Views
- 496
You right. But sometimes app name will contain signs which is incompatible with javascript naming rules.
For example "my-app". The only way to access it is through the window['my-app']. -
21 Apr 2012 1:42 PM
- Replies
- 3
- Views
- 496
window['AppName'].app.getController('ControllerName').MethodName(Args)
or
window['AppName'].app.dispatch({
controller: 'ControllerName',
... -
21 Apr 2012 7:44 AM
Jump to post Thread: Cross reference in "requires" by tretiy3
- Replies
- 2
- Views
- 390
I have 2 classes which require each other. I have to remove the "requires" from one of them to avoid recursion. It works now, but always have warning about synchronous loading in console.
What can... -
18 Apr 2012 5:58 AM
- Replies
- 5
- Views
- 701
In my case (TitleBar) that caused by internal TitleBar implementation.
So, to clean buttons from titlebar it requires me:
var items = titlebar.getItems().items;
for... -
18 Apr 2012 5:27 AM
- Replies
- 5
- Views
- 701
But now with Ext.TitleBar
Adding item to titlebar after removeAll(true) raised this
Uncaught TypeError: Cannot read property 'dom' of null
Ext.define.updateAlignAbstractBox.js:208
...
Results 1 to 11 of 11
