org.springframework.web.servlet.tags

Class ArgumentTag

  • All Implemented Interfaces:
    java.io.Serializable, BodyTag, IterationTag, JspTag, Tag


    public class ArgumentTag
    extends BodyTagSupport
    The <argument> tag is based on the JSTL fmt:param tag. The purpose is to support arguments inside the message and theme tags.

    This tag must be nested under an argument aware tag.

    Attribute Summary
    Attribute Required? Runtime Expression? Description
    value false true The value of the argument.
    Since:
    4.0
    Author:
    Nicholas Williams
    See Also:
    MessageTag, ThemeTag, Serialized Form
    • Constructor Detail

      • ArgumentTag

        public ArgumentTag()
    • Method Detail

      • setValue

        public void setValue(java.lang.Object value)
        Set the value of the argument (optional). If not set, the tag's body content will get evaluated.
        Parameters:
        value - the parameter value