// 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.Cms',
- module : Pman.Tab.Cms,
- region : 'center',
- parent : false,
- name : "CMS Tab",
- disabled : false
- });
-});
-
-Pman.Tab.Cms = new Roo.util.Observable({
-
- panel : false,
- disabled : false,
- parentLayout: false,
-
- add : function(parentLayout, region)
+Pman.Tab.Cms = new Roo.XComponent({
+ part : ["Cms", "Cms" ],
+ order : '100-Pman.Tab.Cms',
+ region : 'center',
+ parent : 'Pman',
+ name : "Pman.Tab.Cms",
+ disabled : false,
+ permname : '',
+ _tree : function()
{
-
var _this = this;
- this.parentLayout = parentLayout;
+ var MODULE = this;
+ return {
+ layout : {
+ center : {
+ '|xns' : 'Roo',
+ autoScroll : false,
+ xtype : 'LayoutRegion',
+ tabPosition : 'top',
+ xns : Roo,
+ titlebar : false
+ },
+ '|xns' : 'Roo',
+ xtype : 'BorderLayout',
+ xns : Roo,
+ items : [
+
+ ]
- this.panel = parentLayout.addxtype({
- xtype: 'NestedLayoutPanel',
- xns: Roo,
- listeners : {
- activate : function (_self)
- {
- _se
- }
},
+ '|xns' : 'Roo',
+ region : 'center',
background : true,
fitToFrame : true,
- region : 'center',
title : "Content Manager",
- layout : {
- xtype: 'BorderLayout',
- xns: Roo,
- center : {
- xtype: 'LayoutRegion',
- xns: Roo,
- titlebar : false,
- tabPosition : 'top',
- autoScroll : false
- }
- }
- });
- this.layout = this.panel.layout;
+ xtype : 'NestedLayoutPanel',
+ xns : Roo,
+ listeners : {
+ activate : function (_self)
+ {
+ _self.layout.getRegion('center').showPanel(0);
+ }
+ },
+ items : [
+
+ ]
- }
+ }; }
});