X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsymbols%2FRoo.XTemplate.json;fp=docs%2Fsymbols%2FRoo.XTemplate.json;h=baa92b999d1af7371e2d77af345cf43d2e96ce53;hp=bb7866144290f0e5404d66d94f4943b69e5a82b0;hb=a66f0a954c17d9febb8c6835bd474ccbadfcf2fd;hpb=1ceaae5125b6781e11416dd48109611cfe182be3 diff --git a/docs/symbols/Roo.XTemplate.json b/docs/symbols/Roo.XTemplate.json index bb78661442..baa92b999d 100644 --- a/docs/symbols/Roo.XTemplate.json +++ b/docs/symbols/Roo.XTemplate.json @@ -8,7 +8,7 @@ "tree_parent" : [], "desc" : "Provides a template that can have nested templates for loops or conditionals. The syntax is:\n
\nvar t = new Roo.XTemplate(\n\t'<select name=\"{name}\">',\n\t\t'<tpl for=\"options\"><option value=\"{value:trim}\">{text:ellipsis(10)}</option></tpl>',\n\t'</select>'\n);\n \n// then append, applying the master template values\n 
\n\nSupported features:\n\n Tags:\n\n
\n      {a_variable} - output encoded.\n      {a_variable.format:(\"Y-m-d\")} - call a method on the variable\n      {a_variable:raw} - unencoded output\n      {a_variable:toFixed(1,2)} - Roo.util.Format.\"toFixed\"\n      {a_variable:this.method_on_template(...)} - call a method on the template object.\n \n
\n The tpl tag:\n
\n        <tpl for=\"a_variable or condition..\"></tpl>\n        <tpl if=\"a_variable or condition\"></tpl>\n        <tpl exec=\"some javascript\"></tpl>\n        <tpl name=\"named_template\"></tpl> (experimental)\n  \n        <tpl for=\".\"></tpl> - just iterate the property..\n        <tpl for=\"..\"></tpl> - iterates with the parent (probably the template) \n
", "isSingleton" : false, - "isStatic" : false, + "isStatic" : true, "isBuiltin" : false, "isAbstract" : false, "isBuilderTop" : false,