Hi

I'm using the validator macro feature on Tapestry 5.2.

It works perfect when I put the validation on the tml :

<input t:type="passwordField" t:id="password" t:validate="password"/>

However, I can't make it work with @Validation annotation on the java
class.

@Validate("password")
private String password;

I'm getting the following error : "Failure reading parameter 'validate' of
component Signup:password: Unknown validator type 'password'. Configured
validators are email, max, maxlength, min, minlength, none, regexp,
required."

@Validation 5.2 javadoc says "In addition, the value may include validator
macros. "

Am I missing something ?

Thank you,

Katia

Reply via email to