You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2006/09/21 23:32:23 UTC

[jira] Updated: (TOMAHAWK-97) TabbedPane active sub header uses wrong user defined styleClass

     [ http://issues.apache.org/jira/browse/TOMAHAWK-97?page=all ]

Martin Marinschek updated TOMAHAWK-97:
--------------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 1.1.4-SNAPSHOT
       Resolution: Fixed
         Assignee: Martin Marinschek

Thanks to Jim Wright for this patch.

regards,

Martin

> TabbedPane active sub header uses wrong user defined styleClass
> ---------------------------------------------------------------
>
>                 Key: TOMAHAWK-97
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-97
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Tabbed Pane
>         Environment: All
>            Reporter: Jim Wright
>         Assigned To: Martin Marinschek
>             Fix For: 1.1.4-SNAPSHOT
>
>         Attachments: HTMLPanelTabRendererPatch, tabbedPaneRendererpatch.txt
>
>
> 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">&#160;</td>
> 	<td id="tabsForm:_id15_headerCell_sub" class="myFaces_panelTabbedPane_subHeaderCell inactiveSub myFaces_panelTabbedPane_subHeaderCell_inactive">&#160;</td>
> 	<td id="tabsForm:_id17_headerCell_sub" class="myFaces_panelTabbedPane_subHeaderCell inactiveSub myFaces_panelTabbedPane_subHeaderCell_active">&#160;</td>
> 	<td id="tabsForm:_id24_headerCell_sub" class="myFaces_panelTabbedPane_subHeaderCell inactiveSub myFaces_panelTabbedPane_subHeaderCell_inactive">&#160;</td>
> 	<td class="myFaces_panelTabbedPane_subHeaderCell myFaces_panelTabbedPane_subHeaderCell_last inactiveSub">&#160;</td>
> </tr>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira