Class DynamicTag

  • All Implemented Interfaces:
    DynaTag, Tag

    public class DynamicTag
    extends DynaTagSupport

    DynamicTag is a tag that is created from inside a Jelly script as a Jelly template and will invoke a given script, passing in its instantiation attributes as variables and will allow the template to invoke its instance body.

    Version:
    $Revision: 155420 $
    Author:
    James Strachan
    • Constructor Detail

      • DynamicTag

        public DynamicTag()
      • DynamicTag

        public DynamicTag​(Script template)
    • Method Detail

      • setAttribute

        public void setAttribute​(String name,
                                 Object value)
        Description copied from interface: DynaTag
        Sets an attribute value of this tag before the tag is invoked
      • getTemplate

        public Script getTemplate()
        The template to be executed by this tag which may well invoke this instances body from inside the template
      • setTemplate

        public void setTemplate​(Script template)
      • getAttributes

        public Map getAttributes()