Have you tried to debug the code where you get the exception? I
suspect that you just have some data types mixed.

Maybe it is just this: comp.setType(parameter.getType()); Is that necessary?

**
Martin

2009/8/4 burnstone <burnst...@burnstone.ch>:
> Martin Makundi wrote:
>>
>> What is U? In my understanding Check(box) operates on a Boolean value
>> so the classcast exception might be there (btw. I always use
>> CheckBox.. I never tried Check..).
>
> <U> is just the parameter type, in this case a String, but could be an
> Integer or Float as well.
>
> The example code in wicket-examples uses Integers, btw.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to