You should create an Ext.navigation.View
that contains the Ext.tab.Panel
as the only object. Then you can push()
your new view onto that view and it will work as you're hoping.
Ext.create('Ext.navigation.View', {
itemId: 'navView',
layout: 'fit',
items: [
{
xtype: 'tabpanel',
tabBarPosition: 'bottom',
items: [{
title: 'Home',
html: 'Home Screen'
}, {
title: 'Contact',
xtype: 'OfferDetailView',
items: [
{
xtype: 'button',
text: 'Go to Foo',
handler: function(btn) {
btn.up('navigationview').push({ xtype: 'foo' });
}
}
]
}]
}
]
});