myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema (JIRA)" <>
Subject [jira] Updated: (MYFACES-844) DateTime component to wrap separate date and time components
Date Fri, 18 Nov 2005 15:49:41 GMT
     [ ]

Dave Brondsema updated MYFACES-844:

    Attachment: InputDateTime.patch

> DateTime component to wrap separate date and time components
> ------------------------------------------------------------
>          Key: MYFACES-844
>          URL:
>      Project: MyFaces
>         Type: New Feature
>   Components: Sandbox
>     Reporter: Dave Brondsema
>     Priority: Minor
>  Attachments: InputDateTime.patch
> This component would bind to a single java.util.Date and let the developer decide which
date input component to use and which time input component to use.  Example of use is:
> 				<x:inputDateTime id="datetimeNeeded" value="#{formbean.form.datetimeNeeded}" required="true"
dateChildIndex="0" timeChildIndex="2">
> 					<h:inputText id="datetimeNeeded_datepart">
> 						<f:convertDateTime pattern="MM/dd/yyyy" timeZone="#{}"/>
> 					</h:inputText>
> 					<jp:popupCalendar for="datetimeNeeded_datepart" format="MM/dd/yyyy" noneDisabled="true"
> 					<t:inputDate type="short_time" ampm="true"/>
> 				</x:inputDateTime>
> I have only tested with facelets, so would appreciate someone testing with JSP.
> As a side note, this would allow us to separate inputDate into inputDate and inputTime,
which could be useful so developers can easily mix and match with inputCalendar

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message