This doesn't prevent them from clicking 2x but prevents them from hitting
back button and resubmitting. If you want to prevent clicking button 2x, you
have to use javascript.

----- Original Message -----
From: "Jason Carreira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 3:04 PM
Subject: [OS-webwork] Hidden token


Hi all,

In our evaluation of Struts vs. Webwork, I was asked about the ability
to do hidden tokens on WW built forms and URLs. Struts apparently, in
their form and link tags, have the possibility of (optionally) adding a
hidden token (either as a hidden form field, or through URL rewriting),
which can keep the user from clicking twice and executing your action
twice. I don't remember seeing anything like this in WW, although my
take is that this would be easy enough to add to the URLTag. Also, is
there a ui:form tag? I'm not sure what all got added.

I remember Rickard was talking about something to prevent 2 submits, but
I'm not sure what it was...

Thoughts? Would this be something good to add (given that it would be
optional and not break anybodies existing code)?

Jason

--
Jason Carreira
Technical Architect, Notiva Corp.
phone: 585.240.2793
  fax: 585.272.8118
email: [EMAIL PROTECTED]
---
Notiva - optimizing trade relationships (tm)



-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate
is essential in establishing user confidence by providing assurance of
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork




-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to