Validator class cast exception wicket 1.3.5

2009-05-13 Thread james o'brien
Hello,I have a converter which I can verify is being called, but when the validator is being called it is not being called on the String value but the object which causes a ClassCastException. Here is my converter: @Override protected IConverterLocator newConverterLocator() { ConverterLocator

Re: Validator class cast exception wicket 1.3.5

2009-05-13 Thread Igor Vaynberg
validators work on objects not on raw string values. -igor On Wed, May 13, 2009 at 10:00 AM, james o'brien jobr...@spinnphr.com wrote: Hello,I have a converter which I can verify is being called, but when the validator is being called it is not being called on the String value but the object

Re: Validator class cast exception wicket 1.3.5

2009-05-13 Thread jobiwankanobi
...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/Validator-class-cast-exception-wicket-1.3.5-tp23525957p23526648.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Validator class cast exception wicket 1.3.5

2009-05-13 Thread Igor Vaynberg
...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/Validator-class-cast-exception-wicket-1.3.5-tp23525957p23526648.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Validator class cast exception wicket 1.3.5

2009-05-13 Thread james o'brien
Hi Igor, I'm a little confused. I attached a StringValidator - shouldn't that work on a String? Also I assumed Validators work on the values of form fields after converted to String?Thanks, --jim On Wed, May 13, 2009 at 10:00 AM, james o'brien jobr...@spinnphr.comwrote: Hello,I have a

Re: Validator class cast exception wicket 1.3.5

2009-05-13 Thread jobiwankanobi
) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/Validator-class-cast-exception-wicket-1.3.5-tp23525957p23526648.html Sent from the Wicket

Validator class cast exception wicket 1.3.5

2009-05-13 Thread James O'Brien
Hello,I have a converter which I can verify is being called, but when the validator is being called it is not being called on the String value but the object which causes a ClassCastException. Here is my converter: @Override protected IConverterLocator newConverterLocator() { ConverterLocator