commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angelo Luis <angelomy...@gmail.com>
Subject Re: [validator] Validating ALL fields
Date Thu, 13 Oct 2005 20:24:33 GMT
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 <stewart.cambridge@gmail.com> 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: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message