Roo/XTemplate.js
[roojs1] / Roo / XTemplate.js
index f9268be..90deb9a 100644 (file)
@@ -37,6 +37,7 @@ var t = new Roo.XTemplate(
  *      <tpl for="a_variable or condition.."></tpl>
  *      <tpl if="a_variable or condition"></tpl>
  *      <tpl exec="some javascript"></tpl>
+ *      <tpl name="named_template"></tpl>
  *
  *      <tpl for="."></tpl> - just iterate the property..
  *      <tpl for=".."></tpl> - iterates with the parent (probably the template) 
@@ -54,6 +55,10 @@ Roo.XTemplate = function()
 
 Roo.extend(Roo.XTemplate, Roo.Template, {
 
+    /**
+     * The various sub templates
+     */
+    tpls : false,
     /**
      *
      * basic tag replacing syntax