Rodrigo Pereira wrote:
Hi,
how can I validate a datetime picker?
...
SEVERE: Could not parse date
java.text.ParseException: Unparseable date: ""
I don't think that's caused by the validation.
That error occurs when the DatePicker attempts to set its current value
but the value is an invalid format. In this case it's blank.
My guess is that the params have been set on your action, validation is
invoked on the action, validation failed because the Date (or another
field) wasn't set, the input result was returned, the page was
redisplayed but the DatePicker failed to render itself because the date
value was null.
Use an s:property or s:date to see what the date value is after a
validation failure.
Hope that helps.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]