| datetime | |
| Datetime | |
The datetime widget displays a javascript calendar in create or edit mode, with additional message tag for errors, and a regular text output in any other mode. It uses a date time converter. Widgets using this type can provide properties accepted on a <nxu:inputDatetime /> tag in create or edit mode, and properties accepted on a <h:outputText /> tag in other modes. The converter will also be given these properties. |
|
| No | |
| No | |
| No | |
| org.nuxeo.ecm.platform.forms.layout.facelets.plugins.DateTimeWidgetTypeHandler | |
| document |
| pattern | String pattern for the date and time, as described by the java.text.SimpleDateFormat class, and as used in the standard DateTimeConverter. Default value is "MMM d, yyyy". Sample value: "#{nxu:basicDateFormatter()}" or "#{nxu:basicDateAndTimeFormatter()}". | ||
| timeZone | String timeZone ID. The server time zone is used if not set. |
| required | |||
| format | String format for the date and time, as described by the java.text.SimpleDateFormat class, and as used in the standard DateTimeConverter. Default value is "MMM d, yyyy". Sample value: "#{nxu:basicDateFormatter()}" or "#{nxu:basicDateAndTimeFormatter()}". | ||
| locale | String representing the locale to use for the calendar. Current locale is used if not set. | ||
| styleClass | |||
| timeZone | String timeZone ID. The server time zone is used if not set. | ||
| triggerImg | Image path to use for the trigger. Available since 5.4. | ||
| triggerLabel | Label to display on the trigger image. Defaults to "...". | ||
| triggerStyleClass | Style class to set on the trigger button tag, defaults to 'calendarTrigger'. |