You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jim Wright (JIRA)" <de...@myfaces.apache.org> on 2006/01/26 12:54:09 UTC

[jira] Created: (MYFACES-1061) TabbedPane active sub header uses wrong user defined styleClass

TabbedPane active sub header uses wrong user defined styleClass
---------------------------------------------------------------

         Key: MYFACES-1061
         URL: http://issues.apache.org/jira/browse/MYFACES-1061
     Project: MyFaces
        Type: Bug
  Components: Tomahawk  
    Versions: 1.1.1    
 Environment: All
    Reporter: Jim Wright


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


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

Posted by "Jim Wright (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-1061?page=all ]

Jim Wright updated MYFACES-1061:
--------------------------------

    Attachment: tabbedPaneRendererpatch.txt

Sorry I attached the wrong patch before here is the correct patch for this issue tabbedPaneRendererPatch.txt

> TabbedPane active sub header uses wrong user defined styleClass
> ---------------------------------------------------------------
>
>          Key: MYFACES-1061
>          URL: http://issues.apache.org/jira/browse/MYFACES-1061
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: 1.1.1
>  Environment: All
>     Reporter: Jim Wright
>  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


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

Posted by "Jim Wright (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-1061?page=all ]

Jim Wright updated MYFACES-1061:
--------------------------------

    Attachment: HTMLPanelTabRendererPatch

Here is a patch that fixes the problem

> TabbedPane active sub header uses wrong user defined styleClass
> ---------------------------------------------------------------
>
>          Key: MYFACES-1061
>          URL: http://issues.apache.org/jira/browse/MYFACES-1061
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: 1.1.1
>  Environment: All
>     Reporter: Jim Wright
>  Attachments: HTMLPanelTabRendererPatch
>
> 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


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

Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
     [ 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

        

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

Posted by "Anonymous (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-97?page=all ]

 updated TOMAHAWK-97:
---------------------


> TabbedPane active sub header uses wrong user defined styleClass
> ---------------------------------------------------------------
>
>          Key: TOMAHAWK-97
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-97
>      Project: MyFaces Tomahawk
>         Type: Bug
>  Environment: All
>     Reporter: Jim Wright
>  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