Hi!

I have a custom validator which works fine, but when the <html:errors/> tag is being executed, it throws a ClassCastException. My validator has the following line for adding to error messages:

errors.add( field.getKey(), new ActionMessage("errors.dates", date1, date2));

If validation passes, the above line is not executed, and everything works(even if there are errors in other fields of the form), the tag prints errors normally.
I am puzzled. Could anyone suggest the reason for this exception? Thanks.


Max



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



Reply via email to