You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Carl Fyffe <st...@sixty4bit.com> on 2003/03/05 07:01:54 UTC

Multi-level validation

Currently, my project is doing validation by overidding the validate()
method of ActionForm.  We use nesting quite a bit, and today I came upon
a "hurdle".  I need to validate two nested forms.  I was expecting to be
able to do:

ActionErrors errors = nestedForm.validate(map, req);
Errors.addAll(nestedForm2.validate(map, req));

But the addAll isn't there.  Is this by design or have I missed
something?

Suggestions welcome,

Carl


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org