2 Replies Latest reply on Nov 3, 2009 5:34 AM by Lydia Ares


    Lydia Ares Newbie

      I saw there's a new "onitemchanged" event in rich:panelBar.
      I'm trying to keep track of the currently opened panel (switchType panelBar: "client"), but I'm not sure how to use the event.

      <rich:panelBar selectedPanel="#{menuController.expandedPanel}" >
       <a4j:support event="onitemchanged" immediate="true" actionListener="#{menuController.panelChanged}" />
       <rich:panelBarItem id="first_tab" label="First tab" >

      How can I retrieve the newly expanded panel in my action listener? The action event doesn't seem to give me the information.
      Thanks for any help in advance!