Class DateTimePickerControl

  • All Implemented Interfaces:
    Observer, VariableResolver, IControl, IDataBoundControl, IDataControl, IRenderer
    Direct Known Subclasses:
    LastWeekDateTimePickerControl, ScheduleDateTimePickerControl, ScheduleStartDateTimePickerControl

    public class DateTimePickerControl
    extends DataBoundControl
    Renders two input text boxes for date and time. The date control is rendered with a picker button that opens a calendar to graphically select the date. The value of this control is the calculated adding the time and the date values.

    Example use: <control:lum_dateTimePicker id="sendDateTime" /> xml data available for xsl rendering: <control dateFormat="M/d/yyyy" id="sendDateTime" timeFormat="HH:mm" type="lum_dateTimePicker"> <control id="sendDateTime.buttonSelect" type="lum_button" ... /> <strings> <string id="STR_AT">at</string> <string id="STR_H">h</string> <string id="STR_HRS">hrs</string> </strings> <data> <date>15</date> <month>3</month> <year>2007</year> <hour>23</hour> <minute>08</minute> <formattedDate>3/15/2007</formattedDate> <formattedTime>23:08</formattedTime> </data> </control>
    Since:
    4.0.0
    Version:
    $Revision: 20825 $ $Date: 2017-12-11 14:43:21 -0200 (Mon, 11 Dec 2017) $
    See Also:
    ButtonControl