0 Replies Latest reply on Apr 27, 2007 5:26 PM by demetrio812

    rich:tabPanel without Panel :)

    demetrio812 Apprentice

      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>
      


      the problem is that there is an empty space under the tabs, how can I set to 0 height this blank space?

      Thanks

      Demetrio