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
