This content has been marked as final.
Show 9 replies
-
1. Re: customize tabPanels skin
ilya_shaikovsky Jul 17, 2009 4:22 AM (in response to lmk)how about headerClass attribute?
-
-
3. Re: customize tabPanels skin
ilya_shaikovsky Jul 17, 2009 4:41 AM (in response to lmk)can't confirm. add the code which not works fine.
-
4. Re: customize tabPanels skin
lmk Jul 17, 2009 4:47 AM (in response to lmk)<rich:panel style="border:none;height:600px"> <rich:tabPanel switchType="client" styleClass="menuTb" inactiveTabClass="myrich-tab-inactive" activeTabClass="myrich-tab-active" disabledTabClass="menuTb-tab-disable" headerClass="header-empty"> <rich:tab label="First" > Here is tab #1 </rich:tab> <rich:tab label="Second"> Here is tab #2 </rich:tab> <rich:tab label="Third" disabled="true"> Here is tab #3 </rich:tab> </rich:tabPanel>
css class :.header-empty{ background-image: none !important; border:none !important; }
-
5. Re: customize tabPanels skin
lmk Jul 20, 2009 4:58 AM (in response to lmk)Hi;
no remark or suggestion? -
6. Re: customize tabPanels skin
ilya_shaikovsky Jul 20, 2009 5:11 AM (in response to lmk)yup! sorry, got it. headerClass of tabPanel applied to whole headers row. And in your case - styleClass of every tab component should be used.
-
7. Re: customize tabPanels skin
lmk Jul 20, 2009 5:17 AM (in response to lmk)So, how can I use a specific style for rich-tabhdr-side-border class.
-
8. Re: customize tabPanels skin
ilya_shaikovsky Jul 20, 2009 5:31 AM (in response to lmk)yes.. this class seems can't be covered with corresponding class attribute.. feel free to rise an issue.
this could be used instead currently:<style> #mypanel * .rich-tabhdr-side-border{ background-image: none !important; border:none !important; } </style> <rich:tabPanel switchType="client" styleClass="menuTb" inactiveTabClass="myrich-tab-inactive" activeTabClass="myrich-tab-active" disabledTabClass="menuTb-tab-disable" id="mypanel"> <rich:tab label="First" > Here is tab #1 </rich:tab> <rich:tab label="Second" styleClass="header-empty" > Here is tab #2 </rich:tab> <rich:tab label="Third" disabled="true"> Here is tab #3 </rich:tab> </rich:tabPanel>
-
9. Re: customize tabPanels skin
lmk Jul 20, 2009 6:03 AM (in response to lmk)it doesn't work;
No matter, I'll disable this classe for all tabPanels.
Jira created:https://jira.jboss.org/jira/browse/RF-7539
Kind regards!