Maybe youcan try saving your ActionErrors inside the request. And
eveytime you validate a field, retrieve the ActionErrors from the
request and append the message into the ActionErrors.
Sifuentes, Ben wrote:
Another thing I do get back a list of errors for each failed field value per
validator b
I have not created custom validator classes, but maybe something in your
custom validator class (and/or its methods) is amiss. Perhaps compare your
class with the Struts source of the standard validator classes? Sounds
like you are creating a new ActionErrors object where it might not be
necess
Another thing I do get back a list of errors for each failed field value per
validator but, the issue is that each validator defined is returning a new
ActionErrors per validator and not appending the previous errors already in
the ActionErrors created by the previous validator.
-Original Mes
3 matches
Mail list logo