All Implemented Interfaces:
TagBase, FormAttributable, Serializable, Cloneable

public class Action extends AbstractAttribute implements FormAttributable
 The action attribute specifies where to send the form-data when a form is submitted.
 It expects absolute or relative URL as value.
 
action attribute for form element .
Since:
1.1.4
See Also:
  • Constructor Details

    • Action

      public Action()
      No value will be set.
      Since:
      1.1.4
    • Action

      public Action(String value)
      Parameters:
      value - the value for the attribute
      Since:
      1.1.4
  • Method Details

    • setValue

      public void setValue(String value)
      sets the value for this attribute
      Parameters:
      value - the value for the attribute.
      Since:
      1.1.4
    • 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()
      gets the value of this attribute
      Returns:
      the value of the attribute
      Since:
      1.1.4
    • init

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