Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Invalid
-
1.4.5
-
None
Description
It would be nice to have a generic TabbedPanel so you don't have to cast every ITab to the actual implementing class just to fetch something from the Panel it generates.
In my case I have overridden newLink(String, int) to generate a AjaxSubmitLink, this needs a form and I need to fetch it from the appropriate Panel. But this is impossible without jumping through hoops because TabbedPanel has a field with List<ITab> instead of List<? extends ITab> or List<T> where T extends ITab.