0 Replies Latest reply on Sep 1, 2009 10:13 AM by Thien Nguyen

    getSize() on a4j:queue

    Thien Nguyen Newbie

      I have a situation like this,

      I want to use the request.queue.getSize() on a onclick of the h:commandButton. I realize that the getSize() is working only for the a4j:queue.

      On a submit of my form, I want to check the size of my queue (in this case, the queue have to be equal to 0) before submitting.

      I don't want to use the ajax submit button (a4j:commandButton) for different reason.

      What's the best practice use in this case ?


      RF 3.3.1
      Facelet 1.1.14
      sun RI 1.2_13