I have a rich:togglePanel, when I toggle to "2", then a server-side action should be fired. How can I do that?
<rich:togglePanel initialState="1" switchType="client" stateOrder="1,2">
<a4j:support event="onclick" action="#{myBean.doAction()}"/>
...
How can I do firing a action when I toggle to facet 2 ??
something like "onswitch(2)" ?
Now, I use
<h:form> <rich:toggleControl action="#{myBean.doAction}" value="click"/> ..