title: Calling another a4j:jsFunction in an a4j:jsFunction oncomplete event
body: <p>I define some java script function which will call the back-end functions using a4j:jsFunction.For example : </p>
  
  <pre><code>&lt;a4j:jsFunction name="function1"  action="#{Bean1.action1}" oncomplete="function2();"/&gt; 
  
  &lt;a4j:jsFunction name="function2"  action="#{Bean1.action2}" oncomplete="SomeJSFunc2();"/&gt; 
  </code></pre>
  
  <p>Then in the a4j:commandButton , I set the onclick property to call my defined function like it:</p>
  
  <pre><code>&lt;a4j:commandButton onclick="function1" oncomplete="SomeJSFunc3();"&gt; 
  </code></pre>
  
  <p>When the a4j:commandButton is clicked , #{Bean1.action1} is run .After the #{Bean1.action1}  returned , the oncomplete event of the (a4j:jsFunction name="function1")
  cannot invoke the "#{Bean1.action2}" .How can I solve this problem? </p>