I'm using 2.0.7 and am getting errors when the user inputs an invalid date 
format.  In addition to the stacktrace below, the field's value displayed to 
the user becomes "NaN/NaN/0NaN".  Is this an oversite in the new tag that 
doesn't check to see if a field error exist before attempting to apply 
formatting?

May-15-2007 11:43:04:377 AM, PDT [ERROR] 
(org.apache.struts2.components.DateTimePicker) - Could not parse date
java.text.ParseException: Unparseable date: "foo"
        at java.text.DateFormat.parse(DateFormat.java:337)
        at 
org.apache.struts2.components.DateTimePicker.format(DateTimePicker.java:309)
        at 
org.apache.struts2.components.DateTimePicker.evaluateParams(DateTimePicker.java:209)
        at org.apache.struts2.components.UIBean.end(UIBean.java:481)
        at 
org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:43)

Thanks,
Jon

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to