You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by dw...@apache.org on 2002/04/01 04:21:18 UTC
cvs commit: jakarta-struts/web/validator/WEB-INF struts-config.xml
dwinterfeldt 02/03/31 18:21:18
Modified: web/validator/WEB-INF struts-config.xml
Log:
Changed plugin config to match changes in ValidatorPlugIn to take a comma delimitted list of resources.
Revision Changes Path
1.2 +6 -3 jakarta-struts/web/validator/WEB-INF/struts-config.xml
Index: struts-config.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/web/validator/WEB-INF/struts-config.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- struts-config.xml 19 Mar 2002 03:31:51 -0000 1.1
+++ struts-config.xml 1 Apr 2002 02:21:18 -0000 1.2
@@ -112,10 +112,13 @@
<!-- ========== Plug Ins Configuration ================================== -->
- <!-- Add multiple validator resource files by setting the pathname property -->
+ <!--
+ Add multiple validator resource files by setting the pathnames property
+ that are comma delimitted.
+ -->
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
- <set-property property="pathname" value="/WEB-INF/validator-rules.xml"/>
- <set-property property="pathname" value="/WEB-INF/validation.xml"/>
+ <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,
+ /WEB-INF/validation.xml"/>
</plug-in>
</struts-config>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>