Pman.Tab.AdminWatchNotify.bjs
authorAlan Knowles <alan@akbkhome.com>
Wed, 6 Jun 2012 03:32:50 +0000 (11:32 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 6 Jun 2012 03:32:50 +0000 (11:32 +0800)
Pman.Tab.AdminWatchNotify.js

Pman.Tab.AdminWatchNotify.bjs
Pman.Tab.AdminWatchNotify.js

index 23a6300..8e18545 100644 (file)
@@ -1,5 +1,5 @@
 {
-    "id": "roo-file-214",
+    "id": "roo-file-194",
     "name": "Pman.Tab.AdminWatchNotify",
     "parent": "Pman.Tab.Admin",
     "title": "Notifications",
index fc2ae05..61c9cd2 100644 (file)
@@ -2,36 +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({
-        part :  ["Admin","WatchNotify"],
-        modKey : '860-Pman.Tab.AdminWatchNotify',
-        module : Pman.Tab.AdminWatchNotify,
-        region : 'center',
-        parent : Pman.Tab.Admin,
-        name : "Notifications",
-        disabled : false, 
-        permname: '' 
-    });
-});
-
-Pman.Tab.AdminWatchNotify = new Roo.util.Observable({
-
-    panel : false,
-    disabled : false,
-    parentLayout:  false,
-
-    add : function(parentLayout, region)
+Pman.Tab.AdminWatchNotify = new Roo.XComponent({
+    part     :  ["Admin","WatchNotify"],
+    order    : '860-Pman.Tab.AdminWatchNotify',
+    region   : 'center',
+    parent   : 'Pman.Tab.Admin',
+    name     : "Notifications",
+    disabled : false, 
+    permname : '', 
+    _tree : function()
     {
-
         var _this = this;
-        this.parentLayout = parentLayout;
-
-        this.panel = parentLayout.addxtype({
+        var MODULE = this;
+        return {
             xtype: 'NestedLayoutPanel',
             xns: Roo,
             background : true,
@@ -46,8 +29,6 @@ Pman.Tab.AdminWatchNotify = new Roo.util.Observable({
                     tabPosition : 'top'
                 }
             }
-        });
-        this.layout = this.panel.layout;
-
+        };
     }
 });