After submitting a form: add(new Form("form") // .add(new TextField("text", new Model(), String.class) // .add(EmailAddressValidator.getInstance())))
with empty field the fallowing error occur:('' is not a valid email address.) Without setting type for TextField - all fine -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Set-FormComponent-Type-and-EmailValidator-tp3356588p3356588.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org