5 Replies Latest reply on Aug 23, 2007 9:08 AM by Ilya Shaikovsky

    simpleTogglePanel actionListener is not called

    Alexander Furer Newbie

      jsp:

       <rich:simpleTogglePanel switchType="ajax" label="Filter" reRender="clientsTable" actionListener="#{clientsBean.toggleFilterPanel}"
       id="filterPanel" rendered="#{clientsBean.showFilter}" width="500px" status="ajaxStatus">
      ...
      </rich:simpleTogglePanel
      

      method:
      public void toggleFilterPanel(ActionEvent event){
       HtmlSimpleTogglePanel panel = (HtmlSimpleTogglePanel) FacesContext.getCurrentInstance().getViewRoot().findComponent("filterPanel");
       }
      

      What could be the problem, or is it a known issue ?
      Thanks