Re: Handling page refresh or redirect when the server reboots

2014-10-31 Thread msalman
myproject.zip http://apache-wicket.1842946.n4.nabble.com/file/n4668210/myproject.zip I finally got it working. And just in case some one needs to do something similar I am attaching the proof of concept project. Any feedback would be highly appreciated. Thanks to Sebastian and Martin for

Re: Handling page refresh or redirect when the server reboots

2014-10-21 Thread Martin Grigorov
Hi, HttpXmlRequest is asynchronous by default. It is not finished by the time you return from your function. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Oct 21, 2014 at 8:37 AM, msalman mohammad_sal...@yahoo.com wrote: Sebastian, thanks for your

Re: Handling page refresh or redirect when the server reboots

2014-10-20 Thread msalman
Sebastian, thanks for your response and idea. Taking your idea myproject.zip http://apache-wicket.1842946.n4.nabble.com/file/n4667990/myproject.zip I am trying to use the following javascript code in wicket: Http.Get = function(theUrl) { var xmlHttp = null; try {

Re: Handling page refresh or redirect when the server reboots

2014-09-16 Thread Sébastien Gautrin
I don't have a wicket-way for this. However, if I had to do something like that, I'd try the following simple and extremely basic approach (which would need to be refined to be more than just an ugly hack) 1. after the action triggering the upgrade process, trigger a javascript on the client