In my Sencha Touch application, I have a Login Screen which extends 'Ext.form.Panel' and then a MainView which is a navigation view. After authentication is successful from the Login screen I need to show the Main View. I am checking the authentication in the controller and on success I am calling the Main View.
if(success){
Ext.Viewport.add({xtype:'MyApp.view.MainView'});
}
I tried the following ViewPort options,
animateActiveItem,Ext.Viewport.show(true)
None of them are working.
How can i activate Navigation View from Panel?
Reg,
P