projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ee6eb6
)
Roo/XTemplate.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 9 Apr 2012 10:55:22 +0000
(18:55 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 9 Apr 2012 10:55:22 +0000
(18:55 +0800)
Roo/XTemplate.js
patch
|
blob
|
history
diff --git
a/Roo/XTemplate.js
b/Roo/XTemplate.js
index
90deb9a
..
aefca46
100644
(file)
--- a/
Roo/XTemplate.js
+++ b/
Roo/XTemplate.js
@@
-154,6
+154,11
@@
Roo.extend(Roo.XTemplate, Roo.Template, {
},
/**
* same as applyTemplate, except it's done to one of the subTemplates
+ * when using named templates, you can do:
+ *
+ * var str = pl.applySubTemplate('your-name', values);
+ *
+ *
* @param {Number} id of the template
* @param {Object} values to apply to template
* @param {Object} parent (normaly the instance of this object)