This content has been marked as final.
Show 4 replies
-
1. Re: Issue with rich:tabPanel
ilya_shaikovsky Jun 3, 2009 6:41 AM (in response to vsirishreddy)seems you need to add some focus keeper elements no your own to label facet. It is not possible out-of-the-box.
-
2. Re: Issue with rich:tabPanel
vsirishreddy Jun 3, 2009 12:46 PM (in response to vsirishreddy)Thanks for the response!
Any hint on how to add the focus to the label facet of tabbed panel. Do I need to write a custom renderer?
Thanks. -
3. Re: Issue with rich:tabPanel
ilya_shaikovsky Jun 4, 2009 8:37 AM (in response to vsirishreddy)Seems not really necessary start with rendering rewriting. you could just add some elements which could be focused to tabs labels (using facet) and handle focus and blur on this elements via js.
-
4. Re: Issue with rich:tabPanel
vsirishreddy Jun 4, 2009 1:47 PM (in response to vsirishreddy)Wow!! Thanks a ton!! That really helped.
If someone else is looking for a solution, this is how I have implemented:<rich:tabPanel switchType="ajax" activeTabClass="activeTabBlue" inactiveTabClass="inactiveTabBlue" contentClass="tabContentBlue" headerSpacing="2px" selectedTab="#{billsearch.selectedTab}" > <rich:tab id="advancedSearch" name="advanced" onkeypress="setAdvanceFlag();" onclick="setAdvanceFlag();" reRender="criteriaDiv"> <f:facet name="label"> <a4j:commandLink value="Advanced Search" onclick="return false;" style="color: black; text-decoration: none"/> </f:facet> ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... </rich:tab> </rich:tabPanel>
Thanks.