Hi,
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" >
...
</rich:panelBarItem>
...
</rich:panelBar>
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!