title: Richfaces tabPanel - using the same page for the different tabs changing the content dynamically
body: <p>I am using Seam 2.1.2 and RichFaces 3.3.2.SR1.</p>
  
  <pre><code>&lt;a4j:form&gt;
      &lt;rich:tabPanel switchType="ajax"&gt;
          &lt;rich:tab label="TAB 1" actionListener="#{outControl.tab1}" immediate="true"&gt;
              &lt;ui:include src="/pages/agenda/TabContain.xhtml" /&gt;
          &lt;/rich:tab&gt;
          &lt;rich:tab label="TAB 2" actionListener="#{outControl.tab2}"&gt;
              &lt;ui:include src="/pages/agenda/TabContain.xhtml" /&gt;
          &lt;/rich:tab&gt;
          ...
  </code></pre>
  
  <p>TabContain.xhtml:</p>
  
  <pre><code>&lt;rich:extendedDataTable value="#{manBean.seDataModel}" var="out" id="bc_table" 
      sortMode="#{manBean.sortMode}" selectionMode="#{manBean.selectionMode}" 
      tableState="#{manBean.tableState}" selection="#{manBean.selection}" 
      rowKeyVar="rkvar"&gt;
      &lt;rich:column sortable="false" id="bc_col_0"&gt;
          ...
  </code></pre>
  
  <p>The content of <code>extendedDataTable</code> should be dependent of the tab selected. My first approach was to set an <code>actionListener</code> in the tabs and change the <code>manBean</code> within that action. After that <code>actionListener</code> even if I can see in the logs that the <code>manBean</code> has changed, this is not reflected in the page in the browser. It's like not refreshing. I tried setting a <code>rerender</code> in the <code>rich:tab</code> but that's also not doing it.</p>
  
  <p>Any idea? Also happy about other approaches, this might be not the best one.</p>