2 Replies Latest reply on Dec 17, 2008 7:06 AM by adubovsky

    Rich SimpleTogglePanel - capturing the events

    meetoblivion

      Hi

      I have an odd request. I have a bunch of simpletogglepanel's on my facelets and I want it so that when they fire off an expand/collapse it also invokes a bean method.

      What's the best approach to this? Do I need an ActionListener? I attempted to change my code like this:

      <rich:simpleTogglePanel switchType="client" opened="#{toggleSettingsManager.navigation}" label="Navigation" actionListener="#{toggleSettingsManager.toggleNavigation}">


      and the backing bean:

      public void toggleNavigation(ActionEvent e) {


      But the event's not kicked off.