Schnittstelle DateTagDeclaration
- Alle Superschnittstellen:
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.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidSets 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.Von Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasAccessKey
setAccessKeyVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasAutoSpacing
setAutoSpacingVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding
setBindingVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasConverter
setConverterVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasConverterMessage
setConverterMessageVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasDecorationPosition
setHelpPosition, setMessagePositionVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasHelp
setHelpVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasId
setIdVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasLabel
setLabelVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasLabelLayout
setLabelLayoutVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasPlaceholder
setPlaceholderVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasRequiredMessage
setRequiredMessageVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasTabIndex
setTabIndexVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasTip
setTipVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasValidator
setValidatorVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasValidatorMessage
setValidatorMessageVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.HasValueChangeListener
setValueChangeListenerVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.IsDisabled
setDisabledVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.IsFocus
setFocusVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.IsReadonly
setReadonlyVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered
setRenderedVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.IsRequired
setRequiredVon Schnittstelle geerbte Methoden org.apache.myfaces.tobago.internal.taglib.declaration.IsVisual
setCustomClass, setMarkup
-
Methodendetails
-
setTodayButton
If true, a today- or now-button is displayed. -
setValue
Sets the minimum value of the date. -
setMin
Sets the minimum value of the date. -
setMax
Sets the maximum value of the date. -
setStep
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
Type of the date/time input. Warning: month and week currently not supported.
-