users@jsf-extensions.java.net

Re: Prevent overlapping Ajax requests

From: Roger Kitain <Roger.Kitain_at_Sun.COM>
Date: Mon, 13 Oct 2008 09:49:16 -0400

Stefan Bley wrote:
> Is it possible to disable input fields during an Ajax request invoked by
> DynaFaces.fireAjaxTransaction()?
> This is important to prevent overlapping Ajax requests, i.e. it can't be
> triggered another Ajax request while there is still one in process.
>
>
In Dynamic Faces, there is no such built in mechanism. You have to do some
JavaScript coding. However, the Ajax standardization in JSF 2.0
incorporates
a client side request queue to ensure exactly what you are asking.

-roger