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

Igor Vaynberg commented on WICKET-2126:
---------------------------------------

in your example try:

choice.getchoices().add("foo")

^ that will error out

if your collection has a wild mask you cannot modify it

> 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