Interface DateTagDeclaration

All Superinterfaces:
HasAccessKey, HasAutoSpacing, HasBinding, HasConverter, HasConverterMessage, HasHelp, HasId, HasIdBindingAndRendered, HasLabel, HasLabelLayout, HasPlaceholder, HasRequiredMessage, HasTabIndex, HasTip, HasValidator, HasValidatorMessage, HasValue, HasValueChangeListener, IsDisabled, IsFocus, IsReadonly, IsRendered, IsRequired, IsVisual

Renders a date input field.

For a time input field set you'll need to set the <f:convertDateTime type="time"> inside the <tc:date>.

If there is no converter given, a default instance of DateTimeConverter will be used.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setMax​(String max)
    Sets the maximum value of the date.
    void
    setMin​(String min)
    Sets the minimum value of the date.
    void
    setTodayButton​(String required)
    If true, a today button is displayed on the datetimepicker.
    void
    setType​(String type)
    XXX Preliminary: check if this is the right way Type of the date/time input.

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasAccessKey

    setAccessKey

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasAutoSpacing

    setAutoSpacing

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding

    setBinding

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasConverter

    setConverter

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasConverterMessage

    setConverterMessage

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasHelp

    setHelp

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasId

    setId

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasLabel

    setLabel

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasLabelLayout

    setLabelLayout

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasPlaceholder

    setPlaceholder

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasRequiredMessage

    setRequiredMessage

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasTabIndex

    setTabIndex

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasTip

    setTip

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasValidator

    setValidator

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasValidatorMessage

    setValidatorMessage

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasValue

    setValue

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasValueChangeListener

    setValueChangeListener

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsDisabled

    setDisabled

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsFocus

    setFocus

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsReadonly

    setReadonly

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered

    setRendered

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRequired

    setRequired

    Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsVisual

    setCustomClass, setMarkup
  • Method Details

    • setTodayButton

      void setTodayButton(String required)
      If true, a today button is displayed on the datetimepicker.
    • setMin

      void setMin(String min)
      Sets the minimum value of the date.
    • setMax

      void setMax(String max)
      Sets the maximum value of the date.
    • setType

      void setType(String type)
      XXX Preliminary: check if this is the right way Type of the date/time input.