I meant disabling all page components (maybe with additional animation) until answer arrives from the server.
Tomer Igor Vaynberg wrote: > you can still do it via an attribute modifier. but i think we should > remove final from those link methods anyways. > > what o you mean by "locking" ? > > -igor > > > On 11/5/06, *Tomer Mevorach* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > I prefer not to synchronize it on the server side. > The thing that bothers me is that there is no way to add JS code > to the > onclick event of the submit button, therefore i am using forms > onsubmit > event for disabling the button. > by the way, is there any built in mechanism in wicket for locking the > entire page? > > Regards, > Tomer > > > Eelco Hillenius wrote: > > Sorry, synchronized *on* the session. > > > > Eelco > > > > On 11/5/06, Eelco Hillenius <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > >> It shouldn't though. Requests to pages are synchronized > throughout the > >> session, so if you want to block a second request, just disable > that > >> link/ ignore the second request e.g. by setting a variable on your > >> form). > >> > >> Eelco > >> > >> On 11/5/06, Tomer Mevorach < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > >> > when using a SubmitLink, double click on the submit button > results in > >> > submitting the form twice. > >> > submitting the form twice results in in unwanted behavior (in > some > >> > cases, when markup hierarchy changes between submits, it > results in a > >> > RuntimeException). > >> > however, there is no way to update onclick since > >> getTriggerJavaScript() > >> > method in SubmitLink is private and getOnClickScript() of > Button is > >> > never called when using SubmitLink. > >> > Any idea how disable submit button onclick? > >> > > >> > Regards, > >> > Tomer > >> > > >> > > >> > > >> > > >> > > >> > ------------------------------------------------------------------------- > >> > >> > 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&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > >> > _______________________________________________ > >> > Wicket-user mailing list > >> > [email protected] > <mailto:[email protected]> > >> > https://lists.sourceforge.net/lists/listinfo/wicket-user > >> > > >> > > > > > ------------------------------------------------------------------------- > 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&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > _______________________________________________ > Wicket-user mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/wicket-user > > ------------------------------------------------------------------------- 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&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
