Interface DateTagDeclaration
-
- All Superinterfaces:
HasAccessKey
,HasAutoSpacing
,HasBinding
,HasConverter
,HasConverterMessage
,HasDecorationPosition
,HasHelp
,HasId
,HasIdBindingAndRendered
,HasLabel
,HasLabelLayout
,HasPlaceholder
,HasRequiredMessage
,HasTabIndex
,HasTip
,HasValidator
,HasValidatorMessage
,HasValue
,HasValueChangeListener
,IsDisabled
,IsFocus
,IsReadonly
,IsRendered
,IsRequired
,IsVisual
public interface DateTagDeclaration extends HasAccessKey, HasValidator, HasValue, HasValueChangeListener, HasTabIndex, IsFocus, IsVisual, HasValidatorMessage, HasConverterMessage, HasRequiredMessage, HasIdBindingAndRendered, IsReadonly, IsDisabled, HasConverter, HasLabel, HasHelp, HasLabelLayout, HasDecorationPosition, HasTip, IsRequired, HasPlaceholder, HasAutoSpacing
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
All Methods Instance Methods Abstract Methods 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
setStep(String step)
Sets the step of a date or time picker.void
setTodayButton(String required)
If true, a today- or now-button is displayed.void
setType(String type)
Type of the date/time input.void
setValue(String value)
Sets the minimum value of the date.-
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.HasDecorationPosition
setHelpPosition, setMessagePosition
-
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasHelp
setHelp
-
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.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 Detail
-
setTodayButton
void setTodayButton(String required)
If true, a today- or now-button is displayed.
-
setValue
void setValue(String value)
Sets the minimum value of the date.
-
setMin
void setMin(String min)
Sets the minimum value of the date.
-
setMax
void setMax(String max)
Sets the maximum value of the date.
-
setStep
void setStep(String step)
Sets the step of a date or time picker. Value is in seconds. Reasonable values are e.g. 0.001, 1, 5, 10, 60, 300, 3600. If not set, browsers drop the seconds, so it's the same as the value of 60. To show seconds use 1. To show milliseconds use 0.001. Browser support is in progress.
-
setType
void setType(String type)
Type of the date/time input. Warning: month and week currently not supported.
-
-