4 Replies Latest reply on May 28, 2013 4:19 AM by macoolio

    a4j:queue Functionality gets lost after Submit

    macoolio Newbie

      Hello,

       

      I have noticed that the requestDelay settings or the whole a4j:queue is not working after a page submit.

      When I open the view the requestDelay works fine and 4 seconds after a keyup event in the input field, an ajax request is processed.

      But when I press the commandButton the queue functionality is lost and ajax requests are performed immediately without a delay.

       

       

      <h:body>
           <h:form id="form">
                <h:commandButton value="Button" />
                <a4j:queue requestDelay="4000"/>
                     <h:inputText>
                          <a4j:ajax event="keyup" ></a4j:ajax>
                     </h:inputText>
           </h:form>
      </h:body>
      

       

      The same problem exists when I use <a4j:attachQueue>.

       

      I use MyFaces 2.1.11 and Richfaces 4.3.2.Final.

       

      Any Ideas?

      Thanks.

       

      Marco