Re: Validators for lists

2008-07-06 Thread atul singh
No it is a text area giving comma separated input. Any ways I found what I needed: i.e Validatable: the concrete implementation of IValidatable which can be used outside wicket components On Sun, Jul 6, 2008 at 10:25 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: > So the list of objects is in th

Re: Validators for lists

2008-07-05 Thread Johan Compagner
So the list of objects is in this case multiple input fields? Why do that in a list, just give every email field that validator and let wicket be the one that iterates of the list. Then you also have much better feedback to the end user On 7/5/08, atul singh <[EMAIL PROTECTED]> wrote: > Can someon

Re: Validators for lists

2008-07-05 Thread Timo Rantalaiho
On Sun, 06 Jul 2008, atul singh wrote: > Can someone please suggest a way to use/extend the current validators to > validate list of objects. > The problem is i have to write code in the following manner and don't know > if it is a good approach. Your approach seems fine, though you could collect

Validators for lists

2008-07-05 Thread atul singh
Can someone please suggest a way to use/extend the current validators to validate list of objects. The problem is i have to write code in the following manner and don't know if it is a good approach. EmailAddressValidator validator = EmailAddressValidator.getInstance(); for (final