0 Replies Latest reply on Oct 23, 2007 3:05 AM by rlao

    Stop/terminate/cancel an ajax request

    rlao

      An ajax request is sent via commandbutton however the request may take a long time to come back. I like to present a stop button to the user so an action can be take to cancel the request. However, because of using the ajax4jsf, I do not know how to get an handle on the request object so I can call request.transport.abort() for example. I read somewhere using remoting call may be able to do so. Is that right? Is there another way to do it that is easier using the ajax4jsf commandbutton.

      Thanks