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 <[email protected]>: > 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: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
