Class DateTextField


public class DateTextField extends UIBean
  • Field Details

    • TEMPLATE

      public static final String TEMPLATE
      The name of the default template for the DateTextFieldTag
      See Also:
    • format

      protected String format
  • Constructor Details

    • DateTextField

      public DateTextField(ValueStack stack, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
  • Method Details

    • getDefaultTemplate

      protected String getDefaultTemplate()
      Description copied from class: UIBean
      A contract that requires each concrete UI Tag to specify which template should be used as a default. For example, the CheckboxTab might return "checkbox.vm" while the RadioTag might return "radio.vm". This value not begin with a '/' unless you intend to make the path absolute rather than relative to the current theme.
      Specified by:
      getDefaultTemplate in class UIBean
      Returns:
      The name of the template to be used as the default.
    • evaluateExtraParams

      protected void evaluateExtraParams()
      Overrides:
      evaluateExtraParams in class UIBean
    • getControlType

      protected HtmlControlType getControlType()
      Description copied from class: UIBean
      The kind of HTML control this component renders, used to decide which HTML5 constraint attributes are legal on it. Defaults to HtmlControlType.UNSUPPORTED, which supports no constraints — so a component that does not override this emits none.
      Overrides:
      getControlType in class UIBean
    • setFormat

      public void setFormat(String format)
    • getValueClassType

      protected Class getValueClassType()
      Overrides:
      getValueClassType in class UIBean