hi all

     am newbee to struts . am doing a login application on struts . am using
Validator framework for page validation
my configuration is 
                                              validation.xml
<form name="testingForm">
    <field property="name" depends="required, minlength, maxlength">
        <arg0 key="testingForm.name"/>
        <arg1 name="minlength" key="${var:minlength}" resource="false" />
        <arg1 name="maxlength" key="${var:maxlength}" resource="false" />
        <var><var-name>minlength</var-name><var-value>7</var-value></var>
        <var><var-name>maxlength</var-name><var-value>20</var-value></var>
    </field>
</form>

when i submit my form it woks fine for minlength
but for maxlength am getting name cannot be greater than null characters

where am i stuck?? anyone help me out of this????
-- 
View this message in context: 
http://www.nabble.com/cannot-be-greater-than-null-characters-tp20950855p20950855.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to