[ 
https://issues.apache.org/jira/browse/WICKET-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676863#action_12676863
 ] 

Timo Rantalaiho commented on WICKET-2126:
-----------------------------------------

True, but I wasn't going to change that -- just the constructor.

This is how ListView is after applying the patch

  http://pastebin.com/m6e2b065e

This would solve the situation of Matthew Hanlon who said on the mailing list 
that he couldn't use the same model for DropDownChoice and ListView. With this 
change at least the constructors would both accept the same model.

> Widen generics for ListView model (should be List<? extends T> and not just 
> List<T>)
> ------------------------------------------------------------------------------------
>
>                 Key: WICKET-2126
>                 URL: https://issues.apache.org/jira/browse/WICKET-2126
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>            Reporter: Timo Rantalaiho
>            Assignee: Timo Rantalaiho
>             Fix For: 1.4-RC3
>
>         Attachments: WICKET-2126_widen_ListView_generics.patch
>
>
> See WICKET-1512
> See mailing list: 
> http://www.nabble.com/LDM-with-Generics-for-DropDownChoice-td22155211.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to