We have just solved exactly this problem!  There is nothing (yet) in
Tapestry that does this (AFAIK).  So we did it using a hidden field in a
form (all our links are in a form so we have that luxury) that stores
whether or not the form has been submitted (ie. a button pressed, link
clicked etc), and use a javascript onClick event handler to toggle the value
and return false if the form has been submitted already.

R

----- Original Message -----
From: "Luke Galea" <[EMAIL PROTECTED]>
To: "Tapestry Developer" <[EMAIL PROTECTED]>
Sent: Friday, January 17, 2003 5:53 AM
Subject: [Tapestry-developer] Preventing reload/double click


I know this is a common pitfall, and I have some ideas to get around
it.. but I was wondering if I could get a couple quick suggestions on
preventing double-click/refresh problems (ie. They click delete twice..)
Is there anything built into tapestry that I could use to help me?

Thanks

Luke Galea
Software Development
BlueCat <http://www.bluecatnetworks.com/>  Networks
905-762-5225





-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to