I already have "stopOnFirstError" set. Apparently it this is for the javascript validation. How do I get it to work on the server side?
I'm using a List-backed Form, by the way. ie: <html:text property="propList[0].beanProp"/> <html:text property="propList[1].beanProp"/> etc where the form has an ArrayList of beans Thank you for your suggestion, Stewart On 13/10/05, Angelo Luis <[EMAIL PROTECTED]> wrote: > in your struts-config.xml > > put this > > <plug-in className="org.apache.struts.validator.ValidatorPlugIn"> > <set-property property="pathnames" value="/WEB-INF/validator-rules.xml > ,/WEB-INF/validations.xml"/> > <set-property property="stopOnFirstError" value="false"/> > </plug-in> > > On 10/13/05, Stewart Cambridge <[EMAIL PROTECTED]> wrote: > > > > Dear All, > > > > In using the commons validator (with Struts) I am finding that it stop > > at the first failure. > > > > Is there any way (apart from extending the current framework with my > > own checks) to have it continue validating so that a set of failing > > fields can be returned? > > > > Many thanks, > > > > Stewart > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
