0 Replies Latest reply on Jul 10, 2008 5:43 AM by Markus Neubrand

    Howto block UICommand components during an ajax request

    Markus Neubrand Newbie


      I have a web application with many a4j:commandButtons on a page. Some of them trigger requests with a duration of a few seconds.

      Is there a way to block/disable all UICommand components on a page during an active ajax request so that the user has to wait until the active request finishes before he is able to trigger the next one?

      I found this useful code snippet in the wiki http://wiki.jboss.org/wiki/RichFacesPleaseWaitBox. But i would prefer a way where the user doesn't notice that the button is blocked for a short period of time.

      Thanks in advance.

      Yours Markus