2 Replies Latest reply on Oct 23, 2007 5:07 PM by mores

    Tying client events to Server actions 3.1.1-GA

    mores

      Is there a way to make a client event fire AFTER the server action completes ?

      <rich:dropDownMenu value="File">
       <rich:menuItem submitMode="ajax" value="New" action="#{webmenu.doNew}" >
       <a4j:support event="onmouseup" reRender="rich,bdbox" eventsQueue="foo"/>
       </rich:menuItem>
      </rich:dropDownMenu>


      In the above example server method doNew() and client reRender are occurring in 2 separate threads.

      I would like to find a way to make this occur in 1 thread - server doNew() THEN client reRender. Is this possible ?