You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "sean schofield (JIRA)" <my...@incubator.apache.org> on 2005/08/19 06:22:54 UTC
[jira] Closed: (MYFACES-276) HtmlTabbedPaneRenderer - Enable setting of built in style attributes by own style-class
[ http://issues.apache.org/jira/browse/MYFACES-276?page=all ]
sean schofield closed MYFACES-276:
----------------------------------
Resolution: Won't Fix
> HtmlTabbedPaneRenderer - Enable setting of built in style attributes by own style-class
> ---------------------------------------------------------------------------------------
>
> Key: MYFACES-276
> URL: http://issues.apache.org/jira/browse/MYFACES-276
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9 beta
> Environment: Linux/Tomcat 5.5.9/jdk1.5_03
> Reporter: Andy
>
> Hi !
> I would like to override some style attributes by my own style-class for the 'panelTabbedPane' and the 'panelTab'.
> This only works for attributes not defined as 'built in' by the TabbedPaneRenderer .
> For instance: If you look at the HtmlTabbedPaneRenderer-Code->
> private static final String ACTIVE_HEADER_CELL_STYLE =
> "border-top: 2px outset #CCCCCC; " +
> "border-right: 2px outset #CCCCCC; " +
> "border-bottom: 0px none; " +
> "border-left: 2px outset #CCCCCC; " +
> "text-align: center; ";
> The rendered html-page contains this attributes in the style-property of the <td>-tag and I can not override it by use of my own class-attrbute (pointing to my css-file).
> For example:
> <td style="border-top: 2px outset #CCCCCC; border-right: 2px outset #CCCCCC; border-bottom: 0px none; border-left: 2px outset #CCCCCC; text-align: center; background-color:#FFFFFF" class="deviceActiveTabStyle">
> Styles defined by your style-attribute override styles defined by my class-attribute !
> Would be great to see this enhancement!
> Thanks for your outstanding work and best regards, Andi
--
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