Re: Strange issue with AJAX update + file download

2014-04-10 Thread Tobias Gierke
...sorry, forgot that sending attachments to mailing-lists does not generally work... http://picpaste.com/firebug.png http://picpaste.com/chrome_after_download.png Hi, We're using Wicket 1.5.11 with the approach described in

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Ernesto Reinaldo Barreiro
Hi, I have no idea but something you can try is replacing target.appendJavaScript(setTimeout(\window.location.href=' + url + '\, 100);); with a bigger timeout... or maybe $(function() { window}); so that download is triggered once DOM is ready. On Thu, Apr 10, 2014 at 11:02 AM, Tobias

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Tobias Gierke
Hi, Tried both your suggestions, unfortunately none of them worked :( Thanks anyway, Tobias Hi, I have no idea but something you can try is replacing target.appendJavaScript(setTimeout(\window.location.href=' + url + '\, 100);); with a bigger timeout... or maybe $(function() {

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Ernesto Reinaldo Barreiro
Hi, On Thu, Apr 10, 2014 at 10:50 AM, Tobias Gierke tobias.gie...@voipfuture.com wrote: Hi, We're using Wicket 1.5.11 with the approach described in https://cwiki.apache.org/confluence/display/WICKET/ AJAX+update+and+file+download+in+one+blow to trigger a file download from within a

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Tobias Gierke
Hi, What do you exactly mean by the rendering of the page after download completed? You repaint a part of the screen via AJAX? And this is the one giving problem with images? Good point. I just investigated the AJAX response returned by the server when clicking the 'Start download' button on

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Ernesto Reinaldo Barreiro
Hi, On Thu, Apr 10, 2014 at 12:13 PM, Tobias Gierke tobias.gie...@voipfuture.com wrote: Hi, What do you exactly mean by the rendering of the page after download completed? You repaint a part of the screen via AJAX? And this is the one giving problem with images? Good point. I just

Solved [ Re: Strange issue with AJAX update + file download ]

2014-04-10 Thread Tobias Gierke
Sorry for the noise, I just tried to validate my assumption by (again) setting the timeout to some really large value (20 seconds) and noticed that I screwed up while testing your initial suggestion , the changed timeout value was never in effect ... Raising the timeout value does in fact

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Martin Grigorov
Hi, On Thu, Apr 10, 2014 at 1:13 PM, Tobias Gierke tobias.gie...@voipfuture.com wrote: Hi, What do you exactly mean by the rendering of the page after download completed? You repaint a part of the screen via AJAX? And this is the one giving problem with images? Good point. I just

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Tobias Gierke
Hi, Hi, On Thu, Apr 10, 2014 at 1:13 PM, Tobias Gierke tobias.gie...@voipfuture.com wrote: Hi, What do you exactly mean by the rendering of the page after download completed? You repaint a part of the screen via AJAX? And this is the one giving problem with images? Good point. I just

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Tobias Gierke
On Thu, Apr 10, 2014 at 1:13 PM, Tobias Gierke tobias.gie...@voipfuture.com wrote: Hi, What do you exactly mean by the rendering of the page after download completed? You repaint a part of the screen via AJAX? And this is the one giving problem with images? Good point. I just

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Ernesto Reinaldo Barreiro
Hi, On Thu, Apr 10, 2014 at 12:36 PM, Tobias Gierke tobias.gie...@voipfuture.com wrote: Hi, Hi, On Thu, Apr 10, 2014 at 1:13 PM, Tobias Gierke tobias.gie...@voipfuture.com wrote: Hi, What do you exactly mean by the rendering of the page after download completed? You repaint

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Martin Grigorov
On Thu, Apr 10, 2014 at 1:44 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, On Thu, Apr 10, 2014 at 12:36 PM, Tobias Gierke tobias.gie...@voipfuture.com wrote: Hi, Hi, On Thu, Apr 10, 2014 at 1:13 PM, Tobias Gierke tobias.gie...@voipfuture.com wrote:

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Jesse Long
On 10/04/2014 12:53, Martin Grigorov wrote: On Thu, Apr 10, 2014 at 1:44 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, On Thu, Apr 10, 2014 at 12:36 PM, Tobias Gierke tobias.gie...@voipfuture.com wrote: Hi, Hi, On Thu, Apr 10, 2014 at 1:13 PM, Tobias Gierke

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Ernesto Reinaldo Barreiro
one solution might be to pull document from a mounted resource: which are not locked. On Thu, Apr 10, 2014 at 6:16 PM, Jesse Long j...@unknown.za.net wrote: On 10/04/2014 12:53, Martin Grigorov wrote: On Thu, Apr 10, 2014 at 1:44 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: