All Implemented Interfaces:
TagBase, BooleanAttribute, InputAttributable, Serializable, Cloneable

public class Multiple extends AbstractAttribute implements BooleanAttribute, InputAttributable
multiple attribute for the element.
multiple attribute for input element :-
This Boolean attribute indicates whether the user can enter more than one value. This attribute applies when the type attribute is set to email or file; otherwise it is ignored.
Since:
1.0.0
See Also:
  • Constructor Details

    • Multiple

      public Multiple()
      sets the default value as multiple (since 3.0.1). If value is not required then use new Multiple(null). Note : There might be some issue in dynamically changing state of tag if there is no default value.
    • Multiple

      public Multiple(String value)
  • Method Details

    • setValue

      public void setValue(String value)
    • setValue

      public void setValue(boolean updateClient, String value)
      sets the value for this attribute
      Parameters:
      updateClient - true to update client browser page if it is available. The default value is true but it will be ignored if there is no client browser page.
      value - the value for the attribute.
      Since:
      2.1.15
    • getValue

      public String getValue()
    • init

      protected void init()
      invokes only once per object
      Since:
      1.0.0