I've got a class which extends Ext.tab.Panel and a class which extends Ext.navigation.View nested within it.
In my controller, I would like to add another Ext.navigation.View to the Ext.navigation.View which is already part of the tab panel so that when the tab panel is pushed to the main view, both views appear (nested within one another).
In my controller, I've got refs:
and I've got the code in a function which is attached to an event that is caught. How can I add navview2 to navview1, in order to get the same effect as if navview2 appears in navview1's items array?
I've tried a number of permutations of the 'add' method, but keep getting 'undefined method' or similar, but the 'add' method clearly appears in the documentation under Ext.navigation.view, and the example provided has not been helpful. What am I doing wrong?