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
            Priority: Critical
         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.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to