I don't know if this is the right forum for me, but I'll give it a shot...
I have a web application, written with JSF. I want my web application to always behave according the principle: "Abort unfinished events, if there's a newer one in the queue".
For example - if the user pressed a link, and then pressed another link, before the first request was being handled, I want to delete the first event from the events queue, and handle only the new one.
(In a4j there is a tag ignoreDupResponses that is doing something similar, but I want to do it in jsf, in page or application context).