-
1. Re: how to stop multiple ajax requests?
sergeysmirnov Nov 5, 2007 4:33 PM (in response to gothmog)This is not question to RichFaces, but how browsers propagate event. Try to research on the internet : http://www.google.com/search?q=browser+event+propagation
-
2. Re: how to stop multiple ajax requests?
gothmog Nov 5, 2007 5:06 PM (in response to gothmog)Thanks for the link Sergey, I manged to solve using the onsubmit attribute of the <a4j:support> to cancel the #{panelAction} in the case of the #{linkAction}
-
3. Re: how to stop multiple ajax requests?
dxxvi Sep 15, 2008 7:20 PM (in response to gothmog)Could you tell how you used the onsubmit to manage that? I have the same problem.
-
4. Re: how to stop multiple ajax requests?
sergeysmirnov Sep 15, 2008 7:52 PM (in response to gothmog)if onsubmit returns "false", the Ajax request is not sent. This is in general.
The question is how to detect that user clicks the link, but not just inside the span (a4j:outputPanel). If you know how, you can return false only in this case.
The order of the events (depend of the browser and browser's options) that disallows to detect this in right way might be the issue.