Pman.Tab.CmsProduct.js
[Pman.Cms] / Pman.Tab.CmsProductMgr.js
1 //<script type="text/javascript">
2
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
4
5
6
7 // register the module first
8 Pman.on('beforeload', function()
9 {
10     Pman.register({
11         modKey : '001-Pman.Tab.CmsProductMgr',
12         module : Pman.Tab.CmsProductMgr,
13         region : 'center',
14         parent : Pman.Tab.Cms,
15         name : "Pman.Tab.CmsProductMgr",
16         disabled : false, 
17         permname: 'Cms.Products' 
18     });
19 });
20
21 Pman.Tab.CmsProductMgr = new Roo.util.Observable({
22
23     panel : false,
24     disabled : false,
25     parentLayout:  false,
26
27     add : function(parentLayout, region)
28     {
29
30         var _this = this;
31         this.parentLayout = parentLayout;
32
33         this.panel = parentLayout.addxtype({
34             xtype: 'NestedLayoutPanel',
35             xns: Roo,
36             listeners : {
37                 activate : function (_self)
38                 {
39                    // if (!Pman.Tab.CmsProduct.grid) {return; }
40                    //  Pman.Tab.CmsProduct.grid.footer.onClick('first');
41                  
42                 }
43             },
44             region : 'center',
45             title : "Product Manager",
46             layout : {
47                 xtype: 'BorderLayout',
48                 xns: Roo,
49                 center : {
50                     xtype: 'LayoutRegion',
51                     xns: Roo
52                 },
53                 west : {
54                     xtype: 'LayoutRegion',
55                     xns: Roo,
56                     split : true,
57                     width : 250
58                 }
59             }
60         });
61         this.layout = this.panel.layout;
62
63     }
64 });