[ 
https://issues.apache.org/jira/browse/WICKET-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timo Rantalaiho closed WICKET-2126.
-----------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 1.4-RC3)

Right, that's a good point. It seemed convenient here, but maybe it doesn't 
make sense to rely on an unsafe cast (that just works because of erasure I 
suppose).

Maybe this change doesn't make sense then, and we should just consider if the 
widening could be rolled back from DropDownChoice. Because it makes sense that 
you should be able to use the same IModel<List<Foo>> for both DropDownChoice 
choices list and ListView, right?

> 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
>         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