4 Replies Latest reply on Sep 11, 2007 8:11 AM by kavi arasu

    redirecting to a particular tab through a method

    kavi arasu Newbie

      Hi im using the coding



      public String edit() {
       em.merge(tblu);
       return "/prodis.xhtml";
       }


      im using write.xhtml in which the sumbit button is pressed the above method is called and redirecting the page to prodis.xhtml this page has three tabs i want to open the third tab where the user was previously visited.

      <rich:tabPanel switchType="client">
       <rich:tab label="Product Features">
       </rich:tab>
       <rich:tab label="Expert Reviews">
       <ui:include src="expertreview.xhtml"></ui:include>
       </rich:tab>
       <rich:tab label="User Reviews">
       <ui:include src="read.xhtml"></ui:include>
       </rich:tab>
       </rich:tabPanel>


      thank u
      regards
      kaviarasu