...and to protect against the user who manages to double-click the
button quicker than you can disable it, set a flag when you start
processing, and discard subsequent click events until that processing
is complete.

On Dec 28, 2:22 pm, Sunit Katkar <[email protected]> wrote:
> No there is no direct equivalent of Struts where you can use tokens to
> prevent double submits.
>
> But you could disable the Submit button after user clicks it and enable it
> only after your processing is complete.
>
> - Sunit Katkarhttp://sunitkatkar.blogspot.com/
>
> On Tue, Dec 28, 2010 at 12:24 PM, Srividhya Ramachandran
> <[email protected]>wrote:
>
>
>
> > How to avoid Double Submit in GWT? Is there a  token concept like in
> > struts?
> > Thanks
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-web-toolkit%2Bunsubs 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to