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

TabbedPanel not generic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Invalid
    • 1.4.5
    • 1.4.6
    • wicket-extensions
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hielkehoeve Hielke Hoeve
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified