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

Improve TabbedPanel component - add ability to change tab-row container

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0-beta1
    • 1.3.0-beta2
    • wicket-extensions
    • None

    Description

      The main ideea is to make it possible to add a or id to tab-row container - this way I would be able to treat differently outer tabbedPane comparing to inner tabbedPanel. There are many ways to achieve this:
      1. My first thought was to add modify the components markup this way:

      <div wicket:id="tabsContainer" class="tab-row">
      <ul>
      <li wicket:id="tabs">
      [[tab title]]
      </li>
      </ul>
      </div>
      [panel]
      </wicket:panel>

      2. Igor's idea: overridable method to add a css class to that

      3. somehow dynamically providing markup for the tab-row
      container or having a possibility to decorate it with you own markup...

      Any approach is good. Important thing is to add a flexibility on manipulating tab-row container.

      Thank you!

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            alexandru.objelean Alexandru Objelean
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: