portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portals-bridges/library/spring validator-configuration.xml
Date Thu, 11 Nov 2004 01:49:53 GMT
taylor      2004/11/10 17:49:53

  Modified:    portals-bridges/library/spring validator-configuration.xml
  Log:
  more examples
  
  Revision  Changes    Path
  1.2       +9 -9      jakarta-jetspeed-2/portals-bridges/library/spring/validator-configuration.xml
  
  Index: validator-configuration.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portals-bridges/library/spring/validator-configuration.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- validator-configuration.xml	4 Nov 2004 18:11:46 -0000	1.1
  +++ validator-configuration.xml	11 Nov 2004 01:49:53 -0000	1.2
  @@ -7,41 +7,41 @@
         <validator name="required"
                    classname="org.apache.portals.bridges.frameworks.spring.validation.ValidationSupport"
                    method="validateRequired"
  -                 methodParams="java.lang.Object,org.apache.commons.validator.Field"
  +                 methodParams="java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,java.util.Map,java.util.ResourceBundle"
                    msg="errors.required"/>
         <validator name="range"
                    classname="org.apache.portals.bridges.frameworks.spring.validation.ValidationSupport"
                    method="validateRange"
  -                 methodParams="java.lang.Object,org.apache.commons.validator.Field"
  +                 methodParams="java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,java.util.Map,java.util.ResourceBundle"
                    msg="errors.range"/>
         <validator name="doubleRange"
                    classname="org.apache.portals.bridges.frameworks.spring.validation.ValidationSupport"
                    method="validateDoubleRange"
  -                 methodParams="java.lang.Object,org.apache.commons.validator.Field"
  +                 methodParams="java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,java.util.Map,java.util.ResourceBundle"
                    msg="errors.range"/>
         <validator name="mask"
                    classname="org.apache.portals.bridges.frameworks.spring.validation.ValidationSupport"
                    method="validateMask"
  -                 methodParams="java.lang.Object,org.apache.commons.validator.Field"
  +                 methodParams="java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,java.util.Map,java.util.ResourceBundle"
                    msg="errors.mask"/>
                    
      </global>
      <formset>
         <form name="clientInfo">
            <field property="name"  depends="required">
  -         	   <arg key="nameForm.firstname.displayname"/>
  +         	   <arg key="Name"/>
            </field>    
            <field  property="phone" depends="required">
  -         	     <arg key="nameForm.lastname.displayname"/>
  +         	     <arg key="Phone"/>
            </field>
            <field  property="email" depends="required">
  -         	     <arg key="nameForm.street1.displayname"/>
  +         	     <arg key="Email"/>
            </field>
            <field  property="stocks" depends="required">
  -         	     <arg key="nameForm.city.displayname"/>
  +         	     <arg key="Stocks"/>
            </field>
            <field  property="income" depends="required">
  -         	     <arg key="nameForm.state.displayname"/>
  +         	     <arg key="Income"/>
            </field>
            <!--
            <field  property="postalCode" depends="required,mask">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message