A map with all behaviors that were defined for this widget. The key is the name of the behavior, the value is the callback function that is invoked when the behavior is called.
Position of the button in the tabbing order.
How the user selects a time (hour / minute /
second). When set to custom
, the timeControlObject
must be set.
Date format pattern for localization
Disables the calendar when set to true.
Disables weekend columns.
Duration of the effect.
If enabled, the input is focused again after selecting a date. Default is false.
ID of the form to use for AJAX requests.
Default for hour selection, if no date is given. Default is 0.
Maximum boundary for hour selection.
Minimum boundary for hour selection.
The client-side ID of the widget, with all parent naming containers, such as
myForm:myWidget
. This is also the ID of the container HTML element for this widget. In case the widget needs
multiple container elements (such as Paginator), this may also be an array if IDs.
Locale to be used for labels and conversion.
Applies a mask using the pattern.
Clears the field on blur when incomplete input is entered
Placeholder in mask template.
Sets calendar's maximum visible date; Also used for validation on the server-side.
Default for millisecond selection, if no date is given. Default is 0.
Sets calendar's minimum visible date; Also used for validation on the server-side.
Default for minute selection, if no date is given. Default is 0.
Maximum boundary for hour selection.
Minimum boundary for minute selection.
Enables multiple page rendering.
Try to show the time dropdowns all on one line. This should be used with the
controlType
set to select
.
true
if mode
is set to popup
.
An optional callback that is invoked
after this widget was created successfully, at the end of the init method. This is
usually specified via the widgetPostConstruct
attribute on the JSF component. Note that this is also called
during a refresh
(AJAX update).
An optional callback that is invoked after
this widget was refreshed after an AJAX update, at the end of the refresh method.
This is usually specified via the widgetPostRefresh
attribute on the JSF component.
An optional callback that is invoked before
this widget is about to be destroyed, e.g., when the component was removed at the end of an AJAX update. This is
called at the beginning of the destroy method. This is usually specified via the
widgetPreDestroy
attribute on the JSF component.
Callback invoked before the calendar is opened.
Callback invoked before a day is shown.
Makes the calendar readonly when set to true.
Default for second selection, if no date is given. Default is 0.
Maximum boundary for second selection.
Minimum boundary for second selection.
Enables selection of days belonging to other months.
The cutoff year for determining the century for a date. Default is +10
.
Effect to use when displaying and showing the popup calendar.
Visibility of button panel containing today and done buttons.
Whether to show the hour control.
Whether to show the millisec control
Whether to show the minute control.
Client side event that displays the popup calendar.
Displays days belonging to other months.
Whether to show the second control.
Whether to show the Current Date
button if showButtonPanel
is rendered.
Displays the week number next to each week.
Hour steps.
Minute steps.
Second steps.
When controlType
is set to custom
, an
object for creating and handling custom controls for the hour / minute / second inputs.
Allows direct input in time field.
Shows only timepicker without date.
The name of the widget variables of this widget. The widget variable can be used to
access a widget instance by calling PF("myWidgetVar")
.
Year range for the navigator, default is c-10:c+10
.
Generated using TypeDoc
The configuration for the Calendar widget. You can access this configuration via BaseWidget.cfg. Please note that this configuration is usually meant to be read-only and should not be modified.