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.
--
View this message in context:
http://www.nabble.com/Display-of-own-message-in-FeedbackPanel-tp16182720p16196105.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]