3 Replies Latest reply on Nov 14, 2008 1:21 PM by Nick Belaevski

    switchType for rich:tab

    leelavathic leelavathic Novice

      I have a rich:tabPanel containing two rich:tab within it. I want one rich:tab to be of client type and the other of type ajax.

      Following is the code:

      <rich:tabPanel >
       <rich:tab label="Browse" name="browserTab" switchType="client" >
       <a4j:include id="browse" viewId="/browse.xhtml"/>
       </rich:tab>
       <rich:tab label="Search" name="searchTab" switchType="ajax">
       <a4j:include id="search" viewId="/search.xhtml"/>
       </rich:tab>
      </rich:tabPanel>
      


      But I'm not able to click the Search tab. Can anyone help me?