Methods
(static) decorate(decoratorName, customValues) → {String}
Get the decorator templates which is typically the passed template but in case of an AJAX request it is an empty decorator
Parameters:
Name | Type | Description |
---|---|---|
decoratorName |
String |
the name of the decorator template to use |
customValues |
Array |
Array of parameter values for 'format' which indicate an AJAX response |
Returns:
The name of the decorator template to be used
- Type
- String
Example
<isdecorate template="${require('~/view').decorate('path/to/decorator')}">