Description
The generics for ListView<T> are that the model of each list item is not typed as T but rather ? extends T. This makes the model for the ListView read only, and you can't do anything with the list you get from the ListView.
For a ListView you care about the T so this should be pure, but you only care about that the model for the ListView is some sort of List, so ? extends List<T> is OK to use.
Attachments
Issue Links
- relates to
-
WICKET-5350 Enhancement for AbstractChoice and WildcardListModel API
- Resolved