Generic HTML template class. Template is a re-usable HTML fragment aimed to produce markup as part of a larger object (control).
Template can either be a simple element or a complex HTML structure and may include calls to other templates as part of the output.
Templates can access properties of the parent control, so the template output will be different depending on the control's data. Templates can also accept parameters allowing to generate lists or tables of data with the single instance of the template.
var obj = new Active.System.Template;
action | Runs the action. |
defineTemplate | Creates a link to the new content template. |
getAction | Returns the action handler. |
getModel | Returns the data model object. |
getProperty | Retrieves the value of the property. |
getTemplate | Returns the template object. |
setAction | Sets the action handler. |
setModel | Sets the external data model. |
setProperty | Assignes the new value to the property. |
setTemplate | Sets the template. |