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 SummaryModifier and TypeMethodDescriptionvoidSets the maximum value of the date.voidSets the minimum value of the date.voidSets the step of a date or time picker.voidsetTodayButton(String required) If true, a today- or now-button is displayed.voidType of the date/time input.voidSets the minimum value of the date.Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasAccessKeysetAccessKeyMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasAutoSpacingsetAutoSpacingMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBindingsetBindingMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasConvertersetConverterMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasConverterMessagesetConverterMessageMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasDecorationPositionsetHelpPosition, setMessagePositionMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasHelpsetHelpMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasLabelsetLabelMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasLabelLayoutsetLabelLayoutMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasPlaceholdersetPlaceholderMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasRequiredMessagesetRequiredMessageMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasTabIndexsetTabIndexMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasTipsetTipMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasValidatorsetValidatorMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasValidatorMessagesetValidatorMessageMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasValueChangeListenersetValueChangeListenerMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsDisabledsetDisabledMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsFocussetFocusMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsReadonlysetReadonlyMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRenderedsetRenderedMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRequiredsetRequiredMethods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsVisualsetCustomClass, setMarkup
- 
Method Details- 
setTodayButtonIf true, a today- or now-button is displayed.
- 
setValue
- 
setMinSets the minimum value of the date.
- 
setMaxSets the maximum value of the date.
- 
setStepSets 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.
- 
setTypeType of the date/time input. Warning: month and week currently not supported.
 
-