1. #1
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    33
    Vote Rating
    0
    FPXdeveloper_4 is on a distinguished road

      0  

    Default [Solved] Controller Action should be able to reference Refs

    [Solved] Controller Action should be able to reference Refs


    [SOLVED] A Controller Action should be able to reference a named Controller Reference according to the Sencha Touch2 documentation. This doesn't seem possible currently with the designer as it puts what is entered in double quotes (see below)

    Code:
        config: {
            control: {
                "loginButton": { 
                    tap: 'doLogin'
                }
            },
    
            refs: {
                loginButton: 'button[action=login]'
            }
        }

  2. #2
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    33
    Vote Rating
    0
    FPXdeveloper_4 is on a distinguished road

      0  

    Default


    Nevermind. It does work with the double quotes, my query was just off.

  3. #3
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,732
    Vote Rating
    51
    Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough Phil.Strong is a jewel in the rough

      0  

    Default


    updating your code example in your 2nd post would help others!
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  4. #4
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    33
    Vote Rating
    0
    FPXdeveloper_4 is on a distinguished road

      0  

    Default


    The same code works, it is just that the query in it needs to actually match something.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar