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 08:03:08 UTC

cvs commit: jakarta-struts/web/blank/WEB-INF struts-config.xml

dwinterfeldt    02/03/31 22:03:08

  Modified:    web/blank/WEB-INF struts-config.xml
  Log:
  Changed ValidatorPlugIn to take a comma delimitted list of resources.
  
  Revision  Changes    Path
  1.4       +4 -3      jakarta-struts/web/blank/WEB-INF/struts-config.xml
  
  Index: struts-config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/blank/WEB-INF/struts-config.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- struts-config.xml	19 Mar 2002 03:55:32 -0000	1.3
  +++ struts-config.xml	1 Apr 2002 06:03:07 -0000	1.4
  @@ -103,14 +103,15 @@
     <!-- ========== Plug Ins Configuration ================================== -->
     
     <!-- 
  -     Add multiple validator resource files by setting the pathname property. 
  +     Add multiple validator resource files by setting the pathnames property 
  +     with a comma delimitted list of resource files to load. 
        Default pluggable validator definitions are contained in validator-rules.xml. 
        Add any validation rules for forms in validator.xml.
     -->
     <!--
     <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/validator.xml"/>
  +    <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,
  +                                              /WEB-INF/validation.xml"/>
     </plug-in>
     -->
   
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>