Hello,
I'm using RichFaces 3.2.0.SR1 along with MyFaces 1.2.2.
I wrote an index.jsp page which contains a rich:tabTable with two tabs. Inside each tab I include a new jsp page.
<f:view> <h:form> <rich:tabPanel switchType="server"> <rich:tab id="tab1" label="Tab 1"> <a4j:include viewId="page2.jsp"/> </rich:tab> <rich:tab id="tab2" label="Tab 2"> <a4j:include viewId="page3.jsp"/> </rich:tab> </rich:tabPanel> </h:form> </f:view>
<f:view>
<h:form>
<rich:dataTable width="483" id="t2" rows="10" columnClasses="tableText"
value="#{serverTableBean.allServersInfo}" var="server">
<f:facet name="header">
<rich:columnGroup>
<h:column>
<h:outputText styleClass="headerText" value="#{prop.server_name}" />
</h:column>
<h:column>
<h:outputText styleClass="headerText" value="#{prop.current_task}" />
</h:column>
<h:column>
<h:outputText styleClass="headerText" value="#{prop.done_jobs}" />
</h:column>
<h:column>
<h:outputText styleClass="headerText" value="#{prop.failed_jobs}" />
</h:column>
</rich:columnGroup>
</f:facet>
<h:column>
<h:outputText value="#{server.serverName}" />
</h:column>
<h:column>
<h:outputText value="#{server.taskName}" />
</h:column>
<h:column>
<h:outputText value="#{server.doneJobs}" />
</h:column>
<h:column>
<h:outputText value="#{server.failedJobs}" />
</h:column>
</rich:dataTable>
<rich:datascroller align="left" for="t2"/>
</h:form>
</f:view>