[
https://issues.apache.org/jira/browse/WICKET-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681605#action_12681605
]
James Carman commented on WICKET-2137:
--------------------------------------
Well, Brill, that's just the thing. In my IDE right now (I'm working on my
patch), I haven't changed one test class at all. The existing test code works
with the new API with no changes. All I've done is change some
variable/parameter types here and there (there's a weird cast in ListView's .
I don't think you want to release the "genericized wicket" version (which is
what 1.4 is supposed to be) without getting the generics "right."
> Synchronize generics between ListView and DropDownChoice
> --------------------------------------------------------
>
> Key: WICKET-2137
> URL: https://issues.apache.org/jira/browse/WICKET-2137
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4-RC3
> Environment: 1.4-SNAPSHOT as of 2009-01-28
> Reporter: Brill Pappin
> Attachments: TestGenerics.java
>
>
> DropDownChoice has a generics definition of List<? extends T> in its
> constructor.
> This causes trouble with existing models that may be used in a DropDownChoice
> and is not consistant with ListView which uses <List<T>>.
> Change DropDownChoice to match the other list type components so that their
> models can be used across components.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.