[ http://issues.apache.org/jira/browse/TAPESTRY-690?page=comments#action_12332186 ]
Jesse Kuhnert commented on TAPESTRY-690: ---------------------------------------- I believe I have a sort of fix for this, but it would require outside libraries to use. The source for it comes from http://archive.dojotoolkit.org/nightly/tests/widget/test_CiviCrmDateTimePicker.html, and a live demo of it working within tapestry is at http://tacos.mine.nu:8080/tacos-demo4/app?page=FormEffects&service=page. You do have to suffer through the first autocomplete field to get down to the DatePicker, but it's there. I just barely finished a billion other refactorings and dojo integrations but it will be very trivial and easy to make the component allow Date | Time | DateTime, depending on your needs.. > 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]
