-
1. Re: tab panel - RichFaces 4
sivaprasad9394 Oct 25, 2012 11:53 PM (in response to javashan)Hi Sathees,
Please try to add the below code to get the tab format like horizontal 6 and sub tabs of the mail tab. for displaying the X icon in the tab also link is given for ur reference.
if the soultion is not suits then try with JQUERY tab.
Below is the mainpage.jsp (or) mainpage.xhtml where top tabs are placeed.....see the label(TabPage6)
<rich:tabPanel>
<rich:tab limitToList="true" label="TabPage6" name="TabPage">
<a4j:region id="region">
<a4j:include id="statusPage6" viewId="/Page.jsp"/>
</a4j:region>
</rich:tab>
</rich:tabPanel>
This is the page name called Page.jsp (or) Page.xhtml
<rich:tabPanel switchType="ajax" id="tabpanel" styleClass="tabb" >
<rich:tab label="Tab1" name="Tab1">
<a4j:region id="roverRegion">
<a4j:include id="pageID" viewId="/tabPage1.jsp"/>
</a4j:region>
</rich:tab>
<rich:tab label="Tab2" name="Tab2">
<a4j:region id="kenanRegion">
<a4j:include id="kenansubmainPage" viewId="/tabPage2.jsp"/>
</a4j:region>
</rich:tab>
</rich:tabPanel>
https://community.jboss.org/message/766948#766948
Thanks,
Siva