decorator
Defines a decorator for this
element's parent content-type
or group
element. Decorators are
Java programming constructs that can be used by Escenic plugins and
third party code to simplify the development of complex templates.
This is done by allowing complex logic to be implemented in Java code
in a decorator, instead of in the templates. See the JavaDoc for
neo.xredsys.presentation
for more information
on decorators.
Syntax
<decorator class="text" name="text"? > <parameter/>? </decorator>
Attributes
class="
text"
(optional)-
The name of the Java class that implements the decorator. You are recommended to omit this attribute and specify the instance name of the decorator in the
name
attribute instead. name="
text"
(optional)-
If the
class
attribute is omitted (recommended), then this attribute must hold the instance name of the decorator you want to use. Ifclass
is specified, then this attribute can hold any name you choose (for documentation purposes).