DatePicker
Derivative of tapestrys DatePicker component using dojo's DatePicker widget as the ui rendering for javascript logic. You basically have to use this component if you plan on being able to select dates from within an AjaxForm.
See also: Form , Dojo, Live Demo JavaScript Calendar
Parameters
Name | Type | Direction | Required | Default | Description |
---|---|---|---|---|---|
value | java.util.Date | in | yes | The data value. Take care to ensure date time values are 'normalized' before performing any millisec based comparison or equality operations. | |
format | String | in | no | dd MMM yyyy | The date format string. See SimpleDateFormat for format pattern letters. |
disabled | boolean | in | no | false | Controls whether the date field and calendar button is active or not. |
icon | IAsset; | in | no | The icon used to toggle the calendar on and off. The calendar will automatically line itself up beneath the text input field. | |
locale | java.util.Locale | in | no | The locale used for displaying the labels in the calendar, if not specified, the page locale is used. | |
showsTime | boolean | in | no | false | If set to true, the calendar also includes a clickable time selector component. |
time24 | boolean | in | no | true | If set to true, the datepicker will use display 24 hour clock, if set to false it shows AM/PM selector in the clickable time selector component. |