The javascript generates by Struts 1.3 to integrate the common-validator js produces warnings under ff1.5 :

Avertissement : reference to undefined property this[varName]

this.a0 = new Array("password", "Password can not be less than {1} characters.",new Function 
("varName", "this.minlength='6';  return this[varName];"));
this.a1 = new Array("passwordbis", "Password confirmation can not be lessthan {1} 
characters.", new Function ("varName", "this.test='(*this*==password)';
this.minlength='6';  return this[varName];"));


The second problem (but it may be linked to this warning) is that the alert popup indicates :
Password can not be less than {1} characters. instead of Password can not be 
less than 6 characters.


<field property="password" depends="required,minlength">
               <arg key="user.password"/>
               <var>
                                <var-name>minlength</var-name>
                                <var-value>6</var-value>
                                </var>
           </field>

However all the others validation rules are working well


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

Reply via email to