fix #7318 - rename upload cropbox and panel tree
[roojs1] / examples / layout / viewpanel.bjs
index 3e24969..5601678 100644 (file)
@@ -7,8 +7,8 @@
     "items": [
         {
             "region": "center",
-            "xtype": "NestedLayoutPanel",
-            "|xns": "Roo",
+            "xtype": "NestedLayout",
+            "|xns": "Roo.panel",
             "items": [
                 {
                     "|xns": "Roo",
@@ -26,9 +26,9 @@
                                 "render": "function (_self)\n{\n    _this.bodypanel = _self;\n    \n    Roo.log('render');\n}"
                             },
                             "region": "center",
-                            "xtype": "ContentPanel",
+                            "xtype": "Content",
                             "|autoCreate": "true",
-                            "|xns": "Roo",
+                            "|xns": "Roo.panel",
                             "items": [
                                 {
                                     "|xns": "Roo",
@@ -40,7 +40,7 @@
                                             "xtype": "Fill"
                                         },
                                         {
-                                            "text": "ADDDDDDDDDDD",
+                                            "text": "Reload",
                                             "xtype": "Button",
                                             "|xns": "Roo.Toolbar"
                                         }
@@ -61,8 +61,8 @@
                                         },
                                         {
                                             "*prop": "tpl",
-                                            "|html": "'<div class=\"thumb-wrap\" > ' + \n  \n  '<div ext:qtip=\"test\" class=\"thumb\"><img  src=\"'+ baseURL + '/Roo/Fax.jpg?_id={id}&thumb=120.jpg\" class=\"thumb-img\"></div>'+\n\n'</div>'",
                                             "xtype": "Template",
+                                            "|html": "'<div class=\"thumb-wrap\" > ' + \n  \n  '{name}'+\n\n'</div>'",
                                             "|xns": "Roo"
                                         },
                                         {