{
- "id": "roo-file-8",
+ "id": "roo-file-110",
"name": "Pman.Tab.AdminOffice",
"parent": "Pman.Tab.AdminCompanies",
"title": "Pman.Tab.AdminOffice",
- "path": "/home/alan/gitlive/Pman.Admin/Pman.Tab.AdminOffice.bjs",
+ "path": "/home/chris/gitlive/Pman.Admin/Pman.Tab.AdminOffice.bjs",
"items": [
{
"listeners": {
// Auto generated file - created by app.Builder.js- do not edit directly (at present!)
-
-
-// register the module first
-Pman.on('beforeload', function()
-{
- Pman.register({
- modKey : '001-Pman.Tab.AdminOffice',
- module : Pman.Tab.AdminOffice,
- region : 'center',
- parent : Pman.Tab.AdminCompanies,
- name : "Pman.Tab.AdminOffice",
- disabled : false,
- permname: ''
- });
-});
-
-Pman.Tab.AdminOffice = new Roo.util.Observable({
-
- panel : false,
- disabled : false,
- parentLayout: false,
-
- add : function(parentLayout, region)
+Pman.Tab.AdminOffice = new Roo.XComponent({
+ part : ["Admin","Office"],
+ order : '001-Pman.Tab.AdminOffice',
+ region : 'center',
+ parent : 'Pman.Tab.AdminCompanies',
+ name : "Pman.Tab.AdminOffice",
+ disabled : false,
+ permname : '',
+ _tree : function()
{
-
var _this = this;
- this.parentLayout = parentLayout;
-
- this.panel = parentLayout.addxtype({
+ var MODULE = this;
+ return {
xtype: 'GridPanel',
xns: Roo,
listeners : {
xns: Roo,
pageSize : 25,
displayInfo : true,
- displayMsg : 'Displaying Office{0} - {1} of {2}',
- emptyMsg : 'No Office found'
+ displayMsg : "Displaying Office{0} - {1} of {2}",
+ emptyMsg : "No Office found"
},
toolbar : {
xtype: 'Toolbar',
}
]
}
- });
- this.layout = this.panel.layout;
-
+ };
}
});