Hello,

I'm looking for the way to use the same IModel for a
ListMultipleChoice<User> and a ListView<User>.

My model implements IModel<List<User>> because the ListView object needs a
IModel<? extends java.util.List<? extends T>>. But the ListMutipleChoice
needs a IModel<java.util.Collection<T>> model.

I can't use my model with the listMultipleChoice because parameterized types
are invariant, so List<User> don't extends Collection<User>.

Thanks

Reply via email to