fix #7318 - rename upload cropbox and panel tree
[roojs1] / examples / layout / viewpanel.bjs
index 0fda823..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",
@@ -62,7 +62,7 @@
                                         {
                                             "*prop": "tpl",
                                             "xtype": "Template",
-                                            "|html": "'<div class=\"thumb-wrap\" > ' + \n  \n  'test'+\n\n'</div>'",
+                                            "|html": "'<div class=\"thumb-wrap\" > ' + \n  \n  '{name}'+\n\n'</div>'",
                                             "|xns": "Roo"
                                         },
                                         {