KJedi
27 Jan 2012, 5:38 PM
I have a code:
Ext.define('CJ.view.Viewport', {
extend: 'Ext.Container',
alias: 'widget.7sviewport',
requires: ['CJ.view.nav.Topbar'],
config: {
fullscreen: true,
layout:{
type: 'card'
},
items: [
{
xtype: 'topbar',
docked: 'top',
ref: 'topbar'
},
{
xtype: 'toolbar',
ui: 'footer',
docked: 'bottom',
items: [
{
text: CJ.t('Search'),
ui: 'footer-btn',
iconCls: 'search-icon'
}
.................
],
ref: 'bottombar'
}
]
}
});
When application is started, I don't see by bars. Moreover, if I do the component query:
Ext.ComponentQuery.query('topbar')
I get nothing.
What is happening to docked items in Viewport in ST PR4?
Interesting, but other docked controls on other panels (not in viewport) are still working.
Is it a bug? What override can I apply to fix it quickly?
Ext.define('CJ.view.Viewport', {
extend: 'Ext.Container',
alias: 'widget.7sviewport',
requires: ['CJ.view.nav.Topbar'],
config: {
fullscreen: true,
layout:{
type: 'card'
},
items: [
{
xtype: 'topbar',
docked: 'top',
ref: 'topbar'
},
{
xtype: 'toolbar',
ui: 'footer',
docked: 'bottom',
items: [
{
text: CJ.t('Search'),
ui: 'footer-btn',
iconCls: 'search-icon'
}
.................
],
ref: 'bottombar'
}
]
}
});
When application is started, I don't see by bars. Moreover, if I do the component query:
Ext.ComponentQuery.query('topbar')
I get nothing.
What is happening to docked items in Viewport in ST PR4?
Interesting, but other docked controls on other panels (not in viewport) are still working.
Is it a bug? What override can I apply to fix it quickly?