* mperham:
> 
> I've got an input field which accepts positive integers.  I'm trying to test
> the validation logic on my page but receiving the following error.  Am I
> misunderstanding how validation and type conversion work?  In general I'm
> having trouble with any fields that accept non-String input (Numbers, Dates,
> etc).
> 
> Caused by: java.lang.ClassCastException: java.lang.String
>         at
> wicket.markup.html.form.validation.NumberValidator.validate(NumberValidator.java:205)
>         at
> wicket.markup.html.form.FormComponent.validateValidators(FormComponent.java:1155)
> 
> We are using 1.2.5.

Can you try and reproduce this with Wicket 1.3.0-beta2?  I'm
pretty sure this bug is no more.
-- 
     Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to