Matthias,
I will add this to the wiki. Which template is used for the help page?
Paul Spencer
Matthias Wessendorf wrote:
anyone interested in putting this to the wiki?
there were some questions regarding this on the list in the past.
thanks
On 6/14/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
Julian,
Based on your solution I have found another solution. This one is not
dependent on the default class name used by MyFaces,
myFaces_panelTabbedPane_activeHeaderCell .
From stylesheet.css
.activeTabHeader { background-color: white;}
.activeTabHeader input { font-weight: bold;}
From displayTab.jsp
<t:panelTabbedPane activeTabStyleClass="activeTabHeader">
Paul Spencer
Julian Ray wrote:
> We override the following styles to remove all default formatting
>
> table.tabbedPane
> td.activeTab
> td.activeTab input
> td.inactiveTab
> td.inactiveTab input
> td.activeSub
> td.inactiveSub
> td.tabContent
> td.myFaces_panelTabbedPane_emptyHeaderCell
> .myFaces_panelTabbedPane_activeHeaderCell input:hover
> .myFaces_panelTabbedPane_inactiveHeaderCell input:hover
>
>
>
> -----Original Message-----
> From: Paul Spencer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 14, 2006 8:44 AM
> To: MyFaces Discussion
> Subject: Re: Setting styleClass on the text in the tab, active or
inactive,
> of the Tabbed Pane <t:panelTabbedPane>.
>
> Julian,
> This does not work for the font-weight attribute. "! important" is
not need
> for background-color. I am not sure about other attributes.
>
> Paul Spencer
>
> Julian Ray wrote:
>> You need to override the default stylesheet settings using !important.
>> For
>> example:
>>
>> td.activeTab {
>> background-color: #FEFEFE ! important;
>> border-top: 1px solid #91A0CA ! important; }
>>
>>
>> -----Original Message-----
>> From: Paul Spencer [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, June 14, 2006 6:19 AM
>> To: MyFaces Discussion
>> Subject: Setting styleClass on the text in the tab, active or
>> inactive, of the Tabbed Pane <t:panelTabbedPane>.
>>
>> I would like to bold the text in the tab of the active pane. Setting
>> the attribute activeTabStyleClass="activeTabHeader" does have some
>> affect, mainly properties used by <TD>. What appears to be missing is
>> the class attribute on the generated <input> tag that contains the
> displayed text.
>> Paul Spencer
>>
>>
>
>