examples/layout/viewpanel.bjs
authorChris <chris@roojs.com>
Mon, 21 Oct 2013 09:52:40 +0000 (17:52 +0800)
committerChris <chris@roojs.com>
Mon, 21 Oct 2013 09:52:40 +0000 (17:52 +0800)
examples/layout/viewpanel.js

examples/layout/viewpanel.bjs
examples/layout/viewpanel.js

index 00ab4c7..cf4146f 100644 (file)
                     "|xns": "Roo",
                     "items": [
                         {
-                            "|xns": "Roo",
+                            "*prop": "tpl",
+                            "html": "<b> hello </b>",
                             "xtype": "Template",
-                            "*prop": "tpl"
+                            "|xns": "Roo"
                         },
                         {
                             "|xns": "Roo.data",
index 6894f25..60bd83a 100644 (file)
@@ -22,7 +22,8 @@ viewpanel = new Roo.XComponent({
                 xns: Roo,
                 tpl : {
                     xtype: 'Template',
-                    xns: Roo
+                    xns: Roo,
+                    html : '<b> hello </b>'
                 },
                 store : {
                     xtype: 'Store',