hi,

i have the same problem and i would prefer a server side solution like using
a session token. but as i understood the whole thing, there is no way to do
something like canceling the request cycle for the second, third... request. 
any suggestions?

erik


Ben Gunter wrote:

> > 
> > It's not Stripes-specific, but perhaps onclick="this.disabled=true" on 
> > the button would work. I've also done more elaborate things in the past, 
> > like overlay a translucent div on top of everything else so they can't 
> > click on anything after the form is submitted. I call it a "veil," so my 
> > forms always look something like
> > 
> > <s:form ... onsubmit="showVeil();return true;">.
> > 
> > I've never done anything server-side to avoid this problem so I don't 
> > have any suggestions on that.
> > 
> > -Ben
> > 
> > Mark Smith wrote:
>   
>> >> Hello all.
>> >>
>> >> I'm new to stripes and am using it on a project at work. 
>> >>
>> >> We have an issue when a user clicks multiple times on a submit button 
>> >> before the previous request is complete. 
>> >>
>> >> Does anyone know of a stripes method or work around to prevent this?
>> >>
>> >> Thanks in advance.
>> >>
>> >> Mark
>>     
> > 
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft 
> > Defy all challenges. Microsoft(R) Visual Studio 2008. 
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Stripes-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/stripes-users
> > 
> > 
>   

-- View this message in context: 
http://www.nabble.com/Multiple-clicks-on-submit-button-tp17290841p24327548.html 
Sent from the stripes-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to