Regards, Sebastiaan
Fabien D. wrote:
Thank you all for your help, There is no problem for the password, but now I'm trying to create my own validator. I have a problem during compilation (with ant). I have done this : email.add(new IValidator() { validate(IValidatable v) { if ( !CDataVerification.validEmail( (String)v.getvalue() ) )v.add(new ValidationError().addMessageKey("error")); } });where CDataVerification.validEmail is a method to check if it's a correct email ( with @, "." , ...), in input a string and in output a boolean. During compilation, I have this message : invalid method declaration; return type required validate(IValidatable v) In the java doc, the method validate don't have any return type, that's why I don't understand what is my mistake. Thank you for your help.
smime.p7s
Description: S/MIME Cryptographic Signature