org.springframework.web.servlet.tags.form

Class HiddenInputTag

  • All Implemented Interfaces:
    java.io.Serializable, DynamicAttributes, IterationTag, JspTag, Tag, TryCatchFinally, EditorAwareTag


    public class HiddenInputTag
    extends AbstractHtmlElementTag
    The <hidden> tag renders an HTML 'input' tag with type 'hidden' using the bound value.

    Example (binding to 'name' property of form backing object):

     <form:hidden path="name"/>
     

    Attribute Summary
    Attribute Required? Runtime Expression? Description

    htmlEscape

    false

    true

    Enable/disable HTML escaping of rendered values.

    id

    false

    true

    HTML Standard Attribute

    path

    true

    true

    Path to property for data binding

    Since:
    2.0
    Author:
    Rob Harrop, Juergen Hoeller, Rossen Stoyanchev
    See Also:
    Serialized Form