You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/05/18 12:56:07 UTC
[jira] [Updated] (WICKET-4537) Add Generics to TabbedPanel:
[ https://issues.apache.org/jira/browse/WICKET-4537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov updated WICKET-4537:
------------------------------------
Fix Version/s: 6.0.0
> Add Generics to TabbedPanel: <T extends ITab>
> ---------------------------------------------
>
> Key: WICKET-4537
> URL: https://issues.apache.org/jira/browse/WICKET-4537
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.5.6, 6.0.0-beta1
> Reporter: Carl-Eric Menzel
> Assignee: Carl-Eric Menzel
> Fix For: 6.0.0
>
>
> In 1.5, TabbedPanel#tabs has a wildcard signature: List<? extends ITab>. This makes it impossible to add tabs to that list, even though adding panels is one of the stated purposes of the #getTabs() method.
> On #wicket, dashorst suggested giving TabbedPanel a type parameter <T extends ITab>, which I think is a good idea. It should definitely be added in 6.0.
> What about 1.5.x? This would be a source-level break, but I *think* binaries should still work.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira