1 Reply Latest reply on Oct 27, 2009 7:09 AM by ilya_shaikovsky

    jsFunction not showing status

    sam-user

      Hello,

      I have a couple of a4j:actionButtons that incorporate a jsFunctions as well. On both I have a status attribute pointing to the same status panel.

      The problem is that the status panel is only displayed while the action function of a4j:commandButton is being executed, but it's not displayed while the action of jsFunction is being executed.

      Here's an example of such a command button:


      <a:commandButton id="btnTest" value="Test" eventsQueue="qTest"
       action="#{testHome.testAction}" status="waitStatus"
       oncomplete="if(#{testHome.metCondition})
       {
       // do something
       }
       else
       {
       testFunc();
       }" >
       <a:jsFunction name="tesFunc" action="#{testHome.anotherAction}"
       status="waitStatus" eventsQueue="qTest"/>
      </a:commandButton>


      Could someone please tell me whether that's a normal behavior, there's a RF bug or there's something wrong with my components.

      Thanks.