It helped me. But just another problem. 
I have a customized multiple choice with 2 multiple ListMultipleChoice
inside. and movieng selected choices from each other. 

I have problems with safe cast. 

Here is my class definition: 
public class CusomizedMultipleChoice<T> extends Panel 

Here are the two method I used.

Collection<T> leftChoices = leftChoice.getChoices();
Collection<T> selectedLeftChoices = leftChoice.getModelObject();

The compiler complains at first method. getChoices. Shouldn't return return
a collection of T.  compiler ask me to cast at Collection<T>. Is it safe to
do this?
I checked the wicket sources but couldn't find the cause. 
Is anything wrong?

View this message in context:
Sent from the Users forum mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to