1. #1
    Ext GWT Premium Member
    Join Date
    Oct 2009
    Posts
    136
    Vote Rating
    5
    zlevardy is on a distinguished road

      0  

    Default Unanswered: ctrl addConfig() how?

    hi,

    trying to call in RT, and add config to my controller.
    Code:
    MyApp.controller.Edit.addConfig( {'editOthersList': { selectionchange: this.onOthersEditSelect } } );
    unfortunatelly not find addConfig param list, so added a new obj {}.

    eagle eyes?

  2. #2
    Ext GWT Premium Member
    Join Date
    Oct 2009
    Posts
    136
    Vote Rating
    5
    zlevardy is on a distinguished road

      0  

    Default

    hi,

    in other words: how can I refer to a controller?

    thx

  3. #3
    Ext GWT Premium Member
    Join Date
    Oct 2009
    Posts
    136
    Vote Rating
    5
    zlevardy is on a distinguished road

      0  

    Default

    hi there,

    with firefox debugger, there addConfig(), but it cannot be found in the documentation: http://docs.sencha.com/ext-js/4-1/#!...app.Controller (it shows 4.1.2 in header), I have 4.1.1 installed. Online docs having addListener(), my has addConfig(), which is not covered by docs.

    is there anybody can help me what is the parameter list of this addConfig() method?

    Adding a simple listener to tab itseft, it is not working. That's why I am looking for this.

  4. #4
    Ext GWT Premium Member
    Join Date
    Oct 2009
    Posts
    136
    Vote Rating
    5
    zlevardy is on a distinguished road

      0  

    Default

    by checking Class.js and Base.js the param list is addConfig( configObj, mergeListBool);

    Can anyone tell me is this looks correct?

    MyApp.controller.Edit.addConfig( { 'editOthersList': { selectionchange: this.onOthersEditSelect } }, true );
    thx