Could you please provide the javascript. Thanks Juergen
On 4/23/06, Ingram Chen <[EMAIL PROTECTED]> wrote: > In our company we rely on javascript to prevent pressing submit button > twice. > Besides prevent double submit, the javascript also disable all other > available buttons > in the page. This shields the user accidently break first request. > > Javascript is not perfect, but quite useful in many situations. It would be > great if > we can add a feature in Form like form.setProtectSubmit(true) and generate > necessary scripts. > > > > > On 4/23/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > > > All, > > > > I have been contemplating this for a while, having it work in the > background of my head. I think we might still have a problem with double > submits. > > > > First of all, we have solved the problem of the backbutton that does > perform a post request. That is not a problem anymore, and IMO solved > elegantly. > > > > What is still a problem though is that when the submit of a form takes a > while, or when the user advertently presses the submit button twice (the > famous double click), wicket will still process the request twice. > > > > Is this a Wicket framework concern or is it a application developer > problem? Or is this something we might be able to check and prevent in a > configurable manner? Something along the lines of a SingleSubmitForm extends > Form in wicket-extensions that prevents this out of the box if possible at > all? > > > > Martijn > > > > > > -- > > Wicket 1.2 is coming! Write Ajax applications without touching JavaScript! > > -- http://wicketframework.org > > > > > -- > Ingram Chen > Java [EMAIL PROTECTED] > Institue of BioMedical Sciences Academia Sinica Taiwan > blog: http://www.javaworld.com.tw/roller/page/ingramchen ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
