Re: EmailAddressValidator triggers on empty input field

2011-02-18 Thread nino martinez wael
s message in context: http://apache-wicket.1842946.n4.nabble.com/EmailAddressValidator-triggers-on-empty-input-field-tp3299464p3313014.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e

Re: EmailAddressValidator triggers on empty input field

2011-02-18 Thread hrbaer
me of this type is an "error". Can anybody provide the sense of setting the type? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/EmailAddressValidator-triggers-on-empty-input-field-tp3299464p3313014.html Sent from the Users forum mailing list archiv

Re: EmailAddressValidator triggers on empty input field

2011-02-18 Thread Mike Mander
I checked a little example and it worked as expected: - nothing in field results in "All valid!" - wrong email in field results in "oops" - valid email in field results in "All valid!" public class HomePage extends WebPage { public HomePage(final PageParameters parameters) { Form

Re: EmailAddressValidator triggers on empty input field

2011-02-18 Thread James Carman
Right, but for this validator you are forced to use the singleton, which doesn't allow you to customize this feature. On Fri, Feb 18, 2011 at 9:53 AM, Mike Mander wrote: > Am 18.02.2011 15:39, schrieb hrbaer: >> >> Any idea? > > Did you check INullAcceptingValidator and > AbstractValidator.valida

Re: EmailAddressValidator triggers on empty input field

2011-02-18 Thread Mike Mander
Am 18.02.2011 15:39, schrieb hrbaer: Any idea? Did you check INullAcceptingValidator and AbstractValidator.validateOnNullValue() ? They discribe what is to do. Cheers Mike - To unsubscribe, e-mail: users-unsubscr...@wicket.ap

Re: EmailAddressValidator triggers on empty input field

2011-02-18 Thread hrbaer
Any idea? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/EmailAddressValidator-triggers-on-empty-input-field-tp3299464p3312795.html Sent from the Users forum mailing list archive at Nabble.com