Hello
I have a JSF application, in which a RichFaces modal panel is shown using a4j:status
while an ajax request is being handled by my backing bean. I want to put a cancel button on the modal panel so a user can interrupt the request.
What is the best way to do this? I'm thinking of something like having the cancel a4j:commandButton
call an action on the bean to run FacesContext.getCurrentInstance().renderResponse()
but not sure that's wise.
Thanks