sridhar.boganathan
20 Mar 2012, 6:41 AM
Hi All,
I have defined my own widgets <widget.studenlist> and <widget.studentdetails>; I have defined these two widget as views; I have given these the views config properties of each controllers and I have configured these 'studentlist' and 'studentdetails' as items in tab panel which is in view port of my application.
But, these views are not displayed and no errors. Added, these views don't have any store / model.
This is my app.js
Ext.application({
name: 'poc',
appFolder: 'app',
controllers: [
'StudentList',
'StudentDetails'
],
launch: function() {
Ext.create('Ext.container.Viewport', {
layout: {
type: 'hbox',
pack: 'start',
align: 'stretch'
},
items: [
{
xtype: 'tabpanel',
flex: 1,
items: [{xtype: 'studentlist'}]
},
{xtype: 'splitter'},
{
xtype: 'tabpanel',
flex: 1,
items: [{xtype: 'studentdetails'}]
}
]
});
}
});
Please let me know what I am wrong.
I have defined my own widgets <widget.studenlist> and <widget.studentdetails>; I have defined these two widget as views; I have given these the views config properties of each controllers and I have configured these 'studentlist' and 'studentdetails' as items in tab panel which is in view port of my application.
But, these views are not displayed and no errors. Added, these views don't have any store / model.
This is my app.js
Ext.application({
name: 'poc',
appFolder: 'app',
controllers: [
'StudentList',
'StudentDetails'
],
launch: function() {
Ext.create('Ext.container.Viewport', {
layout: {
type: 'hbox',
pack: 'start',
align: 'stretch'
},
items: [
{
xtype: 'tabpanel',
flex: 1,
items: [{xtype: 'studentlist'}]
},
{xtype: 'splitter'},
{
xtype: 'tabpanel',
flex: 1,
items: [{xtype: 'studentdetails'}]
}
]
});
}
});
Please let me know what I am wrong.