Pman.Tab.AdminContactsGroup.bjs
authorChris <chris@roojs.com>
Wed, 25 Jul 2012 04:31:52 +0000 (12:31 +0800)
committerChris <chris@roojs.com>
Wed, 25 Jul 2012 04:31:52 +0000 (12:31 +0800)
Pman.Tab.AdminContactsGroup.js

Pman.Tab.AdminContactsGroup.bjs
Pman.Tab.AdminContactsGroup.js

index 325427c..77f15f2 100644 (file)
@@ -1,9 +1,9 @@
 {
-    "id": "roo-file-9",
+    "id": "roo-file-92",
     "name": "Pman.Tab.AdminContactsGroup",
     "parent": "Pman.Tab.AdminContactsManager",
     "title": "Pman.Tab.AdminContactsGroup",
-    "path": "/home/alan/gitlive/Pman.Admin/Pman.Tab.AdminContactsGroup.bjs",
+    "path": "/home/chris/gitlive/Pman.Admin/Pman.Tab.AdminContactsGroup.bjs",
     "items": [
         {
             "listeners": {
index 77741fc..5490045 100644 (file)
@@ -2,35 +2,19 @@
 
 // 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.AdminContactsGroup',
-        module : Pman.Tab.AdminContactsGroup,
-        region : 'center',
-        parent : Pman.Tab.AdminContactsManager,
-        name : "Pman.Tab.AdminContactsGroup",
-        disabled : false, 
-        permname: '' 
-    });
-});
-
-Pman.Tab.AdminContactsGroup = new Roo.util.Observable({
-
-    panel : false,
-    disabled : false,
-    parentLayout:  false,
-
-    add : function(parentLayout, region)
+Pman.Tab.AdminContactsGroup = new Roo.XComponent({
+    part     :  ["Admin","ContactsGroup"],
+    order    : '001-Pman.Tab.AdminContactsGroup',
+    region   : 'center',
+    parent   : 'Pman.Tab.AdminContactsManager',
+    name     : "Pman.Tab.AdminContactsGroup",
+    disabled : false, 
+    permname : '', 
+    _tree : function()
     {
-
         var _this = this;
-        this.parentLayout = parentLayout;
-
-        this.panel = parentLayout.addxtype({
+        var MODULE = this;
+        return {
             xtype: 'GridPanel',
             xns: Roo,
             listeners : {
@@ -437,8 +421,6 @@ Pman.Tab.AdminContactsGroup = new Roo.util.Observable({
                     ddGroup : 'groupDD'
                 }
             }
-        });
-        this.layout = this.panel.layout;
-
+        };
     }
 });