I don't know how the page serialization matters. But I just did a test case and a user can submit ajax requests to wicket asynchronously but the requests are processed as part of a queue and the processing is synchronous.
Is that mechanism handled in Java side/server side? What classes? -----Original Message----- From: Sven Meier [mailto:s...@meiers.net] Sent: Thursday, September 12, 2013 9:29 AM To: users@wicket.apache.org Subject: Re: Possible asynchronous ajax operations with form ajaxsubmitlink No, because all access to Wicket pages is serialized (on the server). Sven On 09/12/2013 03:20 PM, Brown, Berlin [PRI-1PP] wrote: > Is it possible for wicket to execute operations asynchronously in > terms of handling ajax calls. > > > > For example, if I have an ajax submit link. > > > > AjaxSubmitLink1 { > > OnSubmit() { > > runLongRunningOperation(); > > // Imagine this operation runs 10 seconds > > } > > } > > AjaxSubmitLink2 { > > OnSubmit() { > > runLongRunningOperation(); > > // Imagine this operation runs 2 seconds > > } > > } > > > > Let's say a user clicks on ajaxsubmitlink1 and then ajaxsubmitlink2. > > (1) Runs in 10 seconds. > > (2) Runs in 5 seconds. > > > > Is it possible that ajax submit link2 will complete before > ajaxsubmitlink1 even though the user click on 1 first? > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org