decorator

Defines a decorator for this element's parent content-type. 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. The decorator replaces the actual article in the presentation layer.

name="text" (optional)

For documentation purposes, the decorator may have a name.