Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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>