Aneesha Govil schrieb:
Hi,

I would like to display seconds as well in the t:inputDate component. Right now, it just gives me Date-Month-Year-Hours-Mins. I am using type="both". Any idea how can I set it to display seconds too?

Thanks,
Aneesha
Here an example:

           <t:inputCalendar id="validUntil"
                       value="#{task.validUntil}"
                       validator="#{taskDateValidator.validate}"
                       renderAsPopup="true"
                       popupTodayString="#{messages['popup_today_string']}"
                       popupWeekString="#{messages['popup_week_string']}"
                       popupDateFormat="dd.MM.yyyy:HH:mm:ss"
helpText="dd.MM.yyyy:HH:mm:ss"> </t:inputCalendar>

Reply via email to