struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-struts/web/example/WEB-INF validation.xml
Date Sun, 14 Jul 2002 01:38:32 GMT
craigmcc    2002/07/13 18:38:32

  Modified:    web/example/WEB-INF validation.xml
  Log:
  Add "depends" attribute on the password field in validation.xml.
  
  Revision  Changes    Path
  1.2       +3 -2      jakarta-struts/web/example/WEB-INF/validation.xml
  
  Index: validation.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/example/WEB-INF/validation.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- validation.xml	14 Jul 2002 01:35:18 -0000	1.1
  +++ validation.xml	14 Jul 2002 01:38:31 -0000	1.2
  @@ -31,7 +31,8 @@
                   </var>
               </field>
   
  -            <field property="password">
  +            <field property="password"
  +                    depends="minlength,maxlength">
                   <arg0   key="prompt.username"/>
                   <arg1   key="${var:minlength}" name="minlength"
                      resource="false"/>
  
  
  

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message