Are you running it under Struts 2?


Tried datetimepicker, whenever I give the
displayFormat="yyyy-MM-dd", always get the following warning:

Invalid field value for field "todayDate".

Something wrong with my code?

my code:
<s:datetimepicker name="todayDate"
    label="TestDate (yyyy-MM-dd)"
    displayFormat="yyyy-MM-dd"/>

I am using struts 2 . If I change to:

<s:datetimepicker name="todayDate"
label="TestDate (yyyy-MM-dd)" />

without display format, no warning msg at all.

But if the displayFormat is added, warning msg is listed.

How come? I am totally confused.


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

Reply via email to