com.ibm.as400.util.html

Class HiddenFormInput

  • All Implemented Interfaces:
    HTMLTagElement, java.io.Serializable


    public class HiddenFormInput
    extends FormInput
    The HiddenFormInput class represents a hidden input type in an HTML form. The trailing slash "/" on the HiddenFormInput tag allows it to conform to the XHTML specification.

    Here is an example of a HiddenFormInput tag:
    <input type="hidden" name="account" value="123456" />

    See Also:
    Serialized Form
    • Constructor Detail

      • HiddenFormInput

        public HiddenFormInput()
        Constructs a HiddenFormInput object.
      • HiddenFormInput

        public HiddenFormInput(java.lang.String name)
        Constructs a HiddenFormInput object with the specified control name.
        Parameters:
        name - The control name of the input field.
      • HiddenFormInput

        public HiddenFormInput(java.lang.String name,
                       java.lang.String value)
        Constructs a HiddenFormInput object with the specified control name and initial input value.
        Parameters:
        name - The control name of the input field.
        value - The initial value of the input field.
    • Method Detail

      • getFOTag

        public java.lang.String getFOTag()
        Returns a comment tag. This method should not be called. There is no XSL-FO support for this class.
        Returns:
        The comment tag.
      • getTag

        public java.lang.String getTag()
        Returns the tag for the hidden form input type.
        Returns:
        The tag.