How to abort a ajax request in a4j?
We have a functionality where we make a ajax request by clicking on a a4j command button. While retrieving response in progresss, if we click on same button, we want that the previous request should be aborted and the current ajax request should fetch the response.
use IgnoreDupResponces="true"
And check please
http://livedemo.exadel.com/richfaces-demo/richfaces/ajaxAttributes.jsf
possible questions regarding request optimization covered there.