1 Reply Latest reply on Apr 15, 2009 9:49 AM by nimo stephan

    togglePanel fire server-action

    nimo stephan Master

      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)" ?