3 Replies Latest reply on Aug 26, 2008 9:59 AM by Alex Tserbo

    Problem with simpleTogglePanel

    Anton Lisovenko Newbie

      The saving of states of simpleTogglePanel doen't work correctly. This example:


      And matching mine:

      <rich:simpleTogglePanel switchType="client"
       <a4j:support event="onexpand"
       actionListener="#{orderReportDetailsBean.panelOpened}" />
       <a4j:support event="oncollapse"
       actionListener="#{orderReportDetailsBean.panelClosed}" />

      seem to work incorrectly. The action listener is called only at the first click (the method is called), but all next clicks don't produce action events (allthough the request is sent and processed at each click). Moreover, after refreshing the page the panel doesn't produce actions either - I have to restart session to get the first click produce action again..