Class HTML5InputTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag
Direct Known Subclasses:
DateInputTag, NumberInputTag, TimeInputTag

abstract class HTML5InputTag extends InputTag
An abstract utility class for HTML5 form input elements.
Since:
5.0
Version:
11.0
Author:
Luke
  • Field Details

    • _dateFmt

      protected String _dateFmt
    • _timeFmt

      protected String _timeFmt
  • Constructor Details

    • HTML5InputTag

      HTML5InputTag()
  • Method Details

    • removeHTML5Attributes

      protected void removeHTML5Attributes()
      Strips out HTML5-specific attributes.
    • release

      public void release()
      Releases the tag's state variables.
      Specified by:
      release in interface Tag
      Overrides:
      release in class InputTag
    • isHTML5

      protected boolean isHTML5()
      Helper method to determine whether HTML5 support is enabled and the browser is comptable.
      Returns:
      TRUE if HTML5 elements should be rendered, otherwise FALSE
    • setPageContext

      public void setPageContext(PageContext ctxt)
      Updates this tag's page context and extracts HTML4-specific formatting codes.
      Specified by:
      setPageContext in interface Tag
      Overrides:
      setPageContext in class ElementTag
      Parameters:
      ctxt - the JSP page context