TagLib Documentation This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.
value is the input text.
label and labelPosition determines whether the calendar is displayed inline or as a popup. Default is false, i.e. inline.
The pattern attribute is used to specify the date/time format of the text input field. It also affects whether the time entry sliders appear in the calendar. The pattern characters are as detailed in the java.text.SimpleDateFormat javadoc. (Some uncommon pattern characters may not be translatable to pattern characters for the client side date/time object.) When an hour field is present in the pattern, the time entry sliders will appear.
timeZone is used to set the date's time zone. It can be a string or java.util.TimeZone object.
Month/year navigation is by left and right arrow images, one month at a time. To also navigate by month/year drop down lists, set navigator to true.
To enter time only, set timeOnly to true.
Multiple months can be displayed by specifying the no. of months in pages.
Listener method that will be notified when a new value has been set for this input component.
Client Behavior Events
Fired when a date is selected from the calendar (default event).
The client side date/time object is exposed through the global variable named by the widgetVar attribute, but currently there is no API useful to the user.
These keyboard shortcuts work only in a popup calendar without the time component. Some of them may conflict with browser keyboard shortcuts.