[ http://issues.apache.org/jira/browse/TAPESTRY-690?page=comments#action_12332195 ]
Vjeran Marcinko commented on TAPESTRY-690: ------------------------------------------ Dunno if you strive to make time portion selection using JavaScript also (such as with popular JSCalendar), but I'm pretty happy to enter it manually. Basically, what I'm trying to achieve is that : <input jwcid="@DatePicker" value="ognl:fooTime" translator="translator:date,pattern=dd/MM/yyyy HH:mm"/> behaves same as : <input jwcid="@TextField" value="ognl:fooTime" translator="translator:date,pattern=dd/MM/yyyy HH:mm"/> with only difference is that date portion is selected using JavaScript pop-up. And my short fix does exactly that. Of course, solution that would satisfy us both would be even preferable ... I'm just tired of having to use my own TimePicker just because of this little bug with DatePicker. > DatePicker doesn't render time units smaller than day as zeros, inside HTML > text field > -------------------------------------------------------------------------------------- > > Key: TAPESTRY-690 > URL: http://issues.apache.org/jira/browse/TAPESTRY-690 > Project: Tapestry > Type: Bug > Components: Framework > Versions: 4.0 > Environment: 4.0-beta-9 > Reporter: Vjeran Marcinko > > Although DatePicker cannot specify time units smaller than day, so sets them > to zero, it would be good to leave them as they are and render properly > inside HTML text field, meaning, only to affect time units larger than zero. > Tapestry would practicaly get component for setting date *and* time, which I > find terribly needed, in a way that user could pick date, and have to > manually set time. > Currently, setting DatePicker with pattern such as following : > <input jwcid="@DatePicker" value="ognl:fooTime" > translator="translator:date,pattern=dd/MM/yyyy HH:mm"/> > Produces HTML text field populated with something like: > 04/10/2005 HH:mm -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
