3 Replies Latest reply on Jun 13, 2008 9:59 AM by German Figueroa

    rich:tabPanel valueChangeListener

    German Figueroa Newbie

      i have a problem with valueChangeListener


      <rich:tabPanel switchType="client"
      valueChangeListener="#{bean.valueChanged}" >
      <rich:tab label="Title 1" name="tab1">
      <rich:tab label="Title 2" name="tab2">


      private String tabSelected;
      //getter and setter

      public void valueChanged(ValueChangeEvent event) {
      tabSelected = event.getComponent().toString();
      System.out.println("Tab Changed : " + tabSelected);

      but when i click in the tab, nothing happened!

      how to works this?

      thank's, very much! :D