3 Replies Latest reply on Mar 15, 2007 3:12 PM by sergeysmirnov

    Rich:tab and includes?

    alex_ph

      Hi,
      I am really new to richFaces and I have some questions about the "tab" component. Could I use ajax4jsf includes inside a rich:tab? I tried to use the a4j:include but with a ".jsp"-file I got a exception (is this include only for .xhtml files?). If I use .xhtml files, my includes are outside the rich:tab.


      <rich:tabPanel width="50%">
       <rich:tab label="TestTab">
       <h:outputText value="Teststring"></h:outputText>
       <a4j:include viewId="/pages/general/test.xhtml"/>
       </rich:tab>
       </rich:tabPanel>
      


      I want to create one greater .jsf file, with one tabPanel and 5-7 tabs. Each tab has a include file where I could "outsource" some table etc. Does anyone has a link with an example how to use Rich:tabs like I want to do? (if its possible)

      Regards
      Alex