Carl on our side we also use some javascript, but instead of changing the onClick action of the anchor/button we show the overlay div from the lightbox method over the screen after 1 second we update this to show a lightbox / modal dialog saying please wait and after a minute we add a message saying something appears to have gone wrong click here to refresh.<div>
<br></div><div>We do this in the following circumstances.</div><div><br></div><div>1. When a user clicks on an anchor or button.</div><div>2. A Prototype or jQuery request is made to the server. The overlay and lightbox are removed when the request returns.</div>
<div>3. When a page is loading. This prevents another issue that users can click on a submit button before the form tag has been closed which causes them to get redirected to the initial page.</div><div><br></div><div><br>
<div class="gmail_quote">On 8 March 2011 05:06, Carl Gundel <span dir="ltr">&lt;<a href="mailto:carlg@libertybasic.com">carlg@libertybasic.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
When I access my Seaside application using my iPhone over  a 3G connection it is very easy to click on an anchor and then click on it or another anchor before I get a response.  This often becomes a problem because the underlying state of my application is no longer valid for the second click.  Clearly it makes sense for Seaside to handle this intelligently.<br>

<font color="#888888"><br>
-Carl Gundel<br>
<a href="http://www.runbasic.com" target="_blank">http://www.runbasic.com</a><br>
<a href="http://www.libertybasic.com_______________________________________________" target="_blank">http://www.libertybasic.com_______________________________________________</a><br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</font></blockquote></div><br></div>