Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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" rendered="#
"/>
<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