FPXdeveloper_4
9 Feb 2012, 2:26 PM
[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)
config: {
control: {
"loginButton": {
tap: 'doLogin'
}
},
refs: {
loginButton: 'button[action=login]'
}
}
config: {
control: {
"loginButton": {
tap: 'doLogin'
}
},
refs: {
loginButton: 'button[action=login]'
}
}