And a little bit of example's code too.

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Thomas 
Mäder
Gesendet: Donnerstag, 5. Februar 2009 23:38
An: [email protected]
Betreff: Re: java.lang.ClassCastException in ListMultipleChoice

Stack trace please?

On Thu, Feb 5, 2009 at 10:16 PM, Agent Mahone <[email protected]> wrote:

> Hi guys, I have a simple question.
>
> I´m using a ListMultipleChoice in my form.
> The selected items should be binded to "Car.color" as "List<Car> cars".
>
> If I bind the ListMultipleChoice to "cars", I´ll get a
> java.lang.ClassCastException
> because wicket trys to map a List<String> to List<Car>.
>
> java.lang.ClassCastException: java.lang.String cannot be cast to
> com.***.***.Car
>
> Any ideas???
>
> Thanks for your help
>
>
>
>




-- 
Thomas Mäder
Wicket & Eclipse Consulting
www.devotek-it.ch

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to