This example demonstrates a major problem in web development - the problem of duplicate submission.
It typically occurs when:
Multiple clicks.
A user clicks more than once on a submit button before a response has been sent back.
Reload.
A user reloads a response page, causing the original request to be submitted again.
Page 1 (ie. this page) demonstrates the multiple clicks problem.
Page 2 demonstrates the reload problem.
The Multiple Clicks problem: The buttons and links on this page have no protection against multiple clicks.
They SHOULD order only 1 widget, but try clicking impatiently and see the result...
Firefox users: Firefox partially protects you. It blocks input elements of the form
when a form is being submitted. It does not block DirectLink.
Tapestry exceptions If you get an exception saying a property "has already been accounted for by the element
at Annotation" then restart JBoss with -Dorg.apache.tapestry.disable-caching=false before using this page.