Search Type: Posts; User: tretiy3

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    476
    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,...
  2. Replies
    1
    Views
    476
    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"]...
  3. 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.
  4. Replies
    21
    Views
    7,115
    Thanks. It works!
  5. inside my .senchasdk is just on line:
    sdk

    You can create such file in app folder and sencha command will work fine.
  6. Replies
    2
    Views
    656
    Thanks!
  7. 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'].
  8. window['AppName'].app.getController('ControllerName').MethodName(Args)

    or

    window['AppName'].app.dispatch({
    controller: 'ControllerName',
    ...
  9. Replies
    2
    Views
    656
    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...
  10. 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...
  11. 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