Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Ignore multiple requests to the server

Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

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).

Any idea how to do it?
Seriously Rick? Seriously? You might as well just read this tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic