myfaces-dev mailing list archives

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

         Key: MYFACES-844
     Project: MyFaces
        Type: New Feature
  Components: Sandbox  
    Reporter: Dave Brondsema
    Priority: Minor

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="#{}"/>
					<jp:popupCalendar for="datetimeNeeded_datepart" format="MM/dd/yyyy" noneDisabled="true"
					<t:inputDate type="short_time" ampm="true"/>

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