Hi,
As I have the same content for every tab I want to use the tab just to select the content of the dataTable, so I just want to put an empty tabPanel and use actions, this is my code:
<rich:tabPanel switchType="ajax" contentStyle="height: 0px;"> <rich:tab label="Messaggio ricevuti" reRender="data"> <f:setPropertyActionListener value="#{true}" target="#{gMessaggi.mostraRicevuti}" /> </rich:tab> <rich:tab label="Messaggio inviati" reRender="data"> <f:setPropertyActionListener value="#{false}" target="#{gMessaggi.mostraRicevuti}" /> </rich:tab> </rich:tabPanel>