[
https://issues.apache.org/struts/browse/WW-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40246
]
Musachy Barroso commented on WW-1644:
-------------------------------------
I couldn't inherit from Dojo's widget before because the name "TimePicker" was
getting Dojo confused, I created a new widget StrutsTimePicker and fixed the
problems (some of them, there are other issues that will be fixed on the next
Dojo release) there.
> DateTimerPicker problems when type="time"
> -----------------------------------------
>
> Key: WW-1644
> URL: https://issues.apache.org/struts/browse/WW-1644
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.0.2
> Reporter: Musachy Barroso
> Assigned To: Musachy Barroso
> Priority: Critical
> Fix For: 2.0.7
>
> Attachments: WW-1644.patch
>
>
> Dojo's DropDownTimePicker is inconsistent with the DropDownDatePicker, it
> doesn't assign the right names to the "input" elements and it doesn't set the
> value in RFC 3399 format. Tracking for this problems:
> http://trac.dojotoolkit.org/ticket/1677
> as a workaround, attached is a patch for the widget. Normally I would create
> a new widget extending the Dojo one and make the changes there. On this case,
> even if my widget is empty, Dojo complains about empty fields on their
> DropDownTimePicker, I wasn't able to extend it at all. Making a change on
> Dojo's code directly usually a bad idea, but given the widget is known to be
> broken (see tracking above) and cannot be extended, it leaves me with few
> options :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.