0 Replies Latest reply on May 16, 2011 11:51 AM by pechnik

    CommandLink in header of rich:tab not working

    pechnik

      Hello in header of rich:tab I have puted  a4j:CommandLink fro redirecting to another page.

       

      <rich:tab>  
        <f:facet name="header">
                <a4j:commandLink value="Pair"  action="#{Stats.tab2}" execute="@this" />
        </f:facet>
      </rich:tab>
      

       

       

      public String tab2(){
             setTab("t2");
             System.out.println("tab2"); 
             return "t2";
      }
      

       

      But when i clicks the link, nothing hapense.

       

      rich:tabPanel is in the server mode

       

      How  a4j:commandLink in header can redirect to another page?

       

      I am using Richfaces 4 with glassfish 3.1 and Mojara 2.1.1