You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by walidito <wa...@sgcib.com> on 2007/01/29 21:53:57 UTC
[s2] how to fully customize tabs ?
Hi all,
I could customize my <s:tabbedPanel <s:panel tabs with a css file, that
customizes my tabs content & border.
I based myself on the Showcase example and the tabs.css file to do it.
However, I've tried a lot of things to customize the "top part" of the tab,
graphically, it is actually what is commonly called a tab.
In the showcase, its color is grey with a white-colored text.
I would like to know how to customize it, because I suspect that a
javascript file generates its presentations.
Thanks
--
View this message in context: http://www.nabble.com/-s2--how-to-fully-customize-tabs---tf3138330.html#a8697705
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [s2] how to fully customize tabs ?
Posted by Musachy Barroso <mb...@wfscorp.com>.
I attached a patch to the ticket, now(when the patch gets applied :) )
you can use it like this:
<s:tabbedPanel ... templateCssPath="/styles/tabs.css">
...
</s:tabbedPanel>
The current css is here:
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/src/widget/templates/TabContainer.css?view=markup
and the current images are under the "images" directory, their names
start wtih "tab_".
musachy
Musachy Barroso wrote:
> A "templateCssPath" is required on the tabbedPanel, so you will be
> able to specify the css used for the tabs.
>
> https://issues.apache.org/struts/browse/WW-1688
>
> regards
> musachy
>
> walidito wrote:
>> Hi all,
>> I could customize my <s:tabbedPanel <s:panel tabs with a css file, that
>> customizes my tabs content & border.
>> I based myself on the Showcase example and the tabs.css file to do it.
>> However, I've tried a lot of things to customize the "top part" of
>> the tab,
>> graphically, it is actually what is commonly called a tab.
>> In the showcase, its color is grey with a white-colored text.
>> I would like to know how to customize it, because I suspect that a
>> javascript file generates its presentations.
>> Thanks
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: [s2] how to fully customize tabs ?
Posted by Musachy Barroso <mb...@wfscorp.com>.
A "templateCssPath" is required on the tabbedPanel, so you will be able
to specify the css used for the tabs.
https://issues.apache.org/struts/browse/WW-1688
regards
musachy
walidito wrote:
> Hi all,
> I could customize my <s:tabbedPanel <s:panel tabs with a css file, that
> customizes my tabs content & border.
> I based myself on the Showcase example and the tabs.css file to do it.
> However, I've tried a lot of things to customize the "top part" of the tab,
> graphically, it is actually what is commonly called a tab.
> In the showcase, its color is grey with a white-colored text.
> I would like to know how to customize it, because I suspect that a
> javascript file generates its presentations.
> Thanks
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org