Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2153

TabbedPanel accepts only ITab(s)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4-RC2
    • 1.4-RC3
    • wicket-extensions
    • None

    Description

      TabbedPanel manages a List of ITab(s).
      This prevents instantiation of TabbedPanel(s) made of any custom ITab implementation.

      Every reference to List<ITab> should be converted to List<? extends ITab>.
      Alternatively, TabbedPanel should be declared as:
      public class TabbedPanel<T extends ITab> extends Panel{}
      depending on the preferred strategy.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              soulspirit SoulSpirit
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: