Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-97

TabbedPane active sub header uses wrong user defined styleClass

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.4-SNAPSHOT
    • Tabbed Pane
    • None
    • All

    Description

      When you specify your own styleClass for the activeSubStyle class like this :

      <t:panelTabbedPane id="pageTabs" selectedIndex="0"
      activeTabStyleClass="activeTab"
      inactiveTabStyleClass="inactiveTab"
      disabledTabStyleClass="disabledTab"
      activeSubStyleClass="activeSub"
      inactiveSubStyleClass="inactiveSub"
      tabContentStyleClass="tabContent">

      the rendered result clearly shows the active sub header cell using the user defined styleClass for an inactive sub header cell:

      <tr>
      <td id="tabsForm:_id13_headerCell_sub" class="myFaces_panelTabbedPane_subHeaderCell myFaces_panelTabbedPane_subHeaderCell_first inactiveSub myFaces_panelTabbedPane_subHeaderCell_inactive"> </td>
      <td id="tabsForm:_id15_headerCell_sub" class="myFaces_panelTabbedPane_subHeaderCell inactiveSub myFaces_panelTabbedPane_subHeaderCell_inactive"> </td>
      <td id="tabsForm:_id17_headerCell_sub" class="myFaces_panelTabbedPane_subHeaderCell inactiveSub myFaces_panelTabbedPane_subHeaderCell_active"> </td>
      <td id="tabsForm:_id24_headerCell_sub" class="myFaces_panelTabbedPane_subHeaderCell inactiveSub myFaces_panelTabbedPane_subHeaderCell_inactive"> </td>
      <td class="myFaces_panelTabbedPane_subHeaderCell myFaces_panelTabbedPane_subHeaderCell_last inactiveSub"> </td>
      </tr>

      Attachments

        1. HTMLPanelTabRendererPatch
          0.9 kB
          Jim Wright
        2. tabbedPaneRendererpatch.txt
          1 kB
          Jim Wright

        Activity

          People

            mmarinschek Martin Marinschek
            jim.wright Jim Wright
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: