I have 1 main container and inside that 2 separate container. First Container is with login and second with next page. I click on button to switch to next container but it does not work and shows error- "Cannot create an instance of unrecognized alias: widget.container2"
If I give the container2 id in app.js requires and as view .The app stops running with showing file cannot be found. I have no idea. Any help will be appreciable.

I am using button tap code as - Ext.Viewport.setActiveItem('container2');

But if I put the 2 container in nav view out it works fine.