struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nuno Maia <nunom...@netvisao.pt>
Subject Validator Error
Date Thu, 02 Jan 2003 04:27:21 GMT
Validator (structs 1.1 B3) gives me an error with the this configuration
in validator.xml

<form-validation>

   <formset>
      <form name="newsletterForm">
         <field property="firstName"
depends="required,mask,minlength,maxlenght">
            <arg0 key="label.firstname"/>
         <arg1 name="minlength" key="${var:minlength}"
resource="false"/>
            <arg2 name="maxlength" key="${var:maxlength}"
resource="false"/>
                <var>
                    <var-name>mask</var-name>
                    <var-value>^\w+$</var-value>
                </var>
                <var>
                    <var-name>minlength</var-name>
                    <var-value>2</var-value>
                </var>
                <var>
                    <var-name>maxlength</var-name>
                    <var-value>30</var-value>
                </var>
         </field>    
    </form>        
   </formset>   

</form-validation>



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