Filip S. Adamsen-2 wrote:
>
> Hi,
>
> This should get you started:
> http://wiki.apache.org/tapestry/Tapestry5HowToAddValidators
>
> -Filip
>
I want make a validator named confirm,just used to confirm the retype
password.
Using like this:
<t:type="passwordfield" t:id="retypePasword" validate="confirm=idOfPassword"
……/>
Now i have a problem:
public void validate(Field field, String constraintValue,
MessageFormatter formatter, String value) throws
ValidationException {
//do what here?
}
}
the constraintValue is just the id of the password field,how can i get the
password field's real value in a validator?
/luna
--
View this message in context:
http://www.nabble.com/-T5-How-to-make-indentical-validation-on-the-client-side.-tp19027077p19043422.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]