Re: [Wicket-user] Custom validator with IConverter

2006-01-15 Thread David Leangen
> How can I attach my own custom validator? Right now, I am getting > a stack trace, which is thrown when my custom converter does not > like the input. > > Yeah you need to validate the input first before passing it > through Converter. Thanks for the advice! The problem is that it is only

Re: [Wicket-user] Custom validator with IConverter

2006-01-15 Thread karthik Guru
Yeah you need to validate the input first before passing it through Converter. Check if you need a custom validator in the first place. There are quite a few that ships with Wicket. I had to validate the phone number that i was accepting as an input and i used wicket.markup.html.form.validation.Pa

[Wicket-user] Custom validator with IConverter

2006-01-14 Thread David Leangen
I'm using IConverter as explained on the following wiki page: http://www.wicket-wiki.org.uk/wiki/index.php/Using_custom_converters It is a very elegant way of translating between a domain object and its representation on a web page. Very nice! How can I attach my own custom validator? Right