I have a simple form that I don't want accidentally submitted multiple times.
I can easily block the user from multiple clicks when they first see the page, but I have no control over them hitting the back button.
So, having worked with Struts, I decided that a form submit token was the way to go.
Is there an easier way? Is this functionality already in Seam? If there isn't, how should I go about building this functionality into Seam?
// EDIT // Just a clarification here, I do NOT need something that will keep the user from double- clicking. That is already solved.
The specific use-case is as follows: The user clicks the button. Action runs. Some unspecified time in the future, the user hits the back button enough times to get back to the page with the button. The user clicks the button again.
How do I protect against that?