munnaz1
1 Feb 2012, 9:30 PM
I have a problem with my NavigationView seeming to disconnect the ViewA-ControllerA connection when ViewA is popped from Navigation.
I have a LoginView that i load in by using
this.getNavView().push({
xtype: 'LoginView',
title:'Login'
});
I have a 'LoginController' that registers the listeners like so in the config:
config: {
views: [
'LoginView'
],
refs: {
navView: 'NavigationView',
loginFrm: 'LoginView > #loginFrm'
},
control: {
"#loginFrm": {
submit: 'onLoginFrmSubmit'
},
"#submitBtn": {
tap: 'onSubmitBtnTap'
},
"#lostPasswordBtn": {
tap: 'onLostPasswordBtnTap'
}
}
}
the registering of the tap event works first time around but when you pop back a few levels and push back to the View then all tap events do not register with the controller.....
if anyone has any thoughts and/or suggestions that would be awesome...
thanks for any time
ben.
I have a LoginView that i load in by using
this.getNavView().push({
xtype: 'LoginView',
title:'Login'
});
I have a 'LoginController' that registers the listeners like so in the config:
config: {
views: [
'LoginView'
],
refs: {
navView: 'NavigationView',
loginFrm: 'LoginView > #loginFrm'
},
control: {
"#loginFrm": {
submit: 'onLoginFrmSubmit'
},
"#submitBtn": {
tap: 'onSubmitBtnTap'
},
"#lostPasswordBtn": {
tap: 'onLostPasswordBtnTap'
}
}
}
the registering of the tap event works first time around but when you pop back a few levels and push back to the View then all tap events do not register with the controller.....
if anyone has any thoughts and/or suggestions that would be awesome...
thanks for any time
ben.