try closing the modal window first: this is the source of the navigate
away message (I guess),

Ernesto

On Wed, Oct 20, 2010 at 5:18 PM, Martin Zardecki <mpza...@truecool.com> wrote:
>
> I had the whole zip + download working from a simple link but building the
> zip file could take a while and without feedback the user might try
> refreshing the screen or something stupid which is why I wanted to have a
> progress status update.
>
> Using that AjaxDownload behavior fixed my issue and it works now, I guess I
> needed to create another request/response for the download to work....I
> couldn't just start the download inside an AjaxButton.onSubmit method.
>
> The only downside is on some browsers it asks "Are you sure you want to
> navigate away from this page" due to the redirect in the AjaxDownload
> behavior.
>
> Thanks.
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Long-running-task-with-download-tp3003232p3004093.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> 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

Reply via email to