I do not know if this is possible but

1- Open a new tab
2- Set location to download URL
3- Close the new tab

That way (maybe) page does not close WebSocket connection. It would still
be "AJAX"...


On Thu, Nov 3, 2016 at 9:04 AM, Maxim Solodovnik <solomax...@gmail.com>
wrote:

> I'm afraid It would be not really Ajax .....
>
> On Thu, Nov 3, 2016 at 3:03 PM, Ernesto Reinaldo Barreiro <
> reier...@gmail.com> wrote:
>
> > maybe open a second browser tab and do the download there...
> >
> > On Thu, Nov 3, 2016 at 8:51 AM, Maxim Solodovnik <solomax...@gmail.com>
> > wrote:
> >
> > > I'll try to create quick-start ASAP
> > >
> > > On Thu, Nov 3, 2016 at 2:51 PM, Maxim Solodovnik <solomax...@gmail.com
> >
> > > wrote:
> > >
> > > > AjaxDownload was for wicket 1.5.x (or maybe 6.x)
> > > > maybe it can be enhanced to work without unload?
> > > >
> > > > On Thu, Nov 3, 2016 at 2:46 PM, Sven Meier <s...@meiers.net> wrote:
> > > >
> > > >> AjaxDownload changes the window location - the browser probably
> > prepares
> > > >> unloading of the page, before opening the attached download in a
> > > separate
> > > >> window.
> > > >>
> > > >> Sven
> > > >>
> > > >>
> > > >>
> > > >> Am 03.11.2016 um 08:33 schrieb Martin Grigorov:
> > > >>
> > > >>> Hi Maxim,
> > > >>>
> > > >>> I don't see any relation between those.
> > > >>> If it is easy to reproduce please create a quickstart.
> > > >>>
> > > >>> Martin Grigorov
> > > >>> Wicket Training and Consulting
> > > >>> https://twitter.com/mtgrigorov
> > > >>>
> > > >>> On Thu, Nov 3, 2016 at 4:16 AM, Maxim Solodovnik <
> > solomax...@gmail.com
> > > >
> > > >>> wrote:
> > > >>>
> > > >>> Hello,
> > > >>>>
> > > >>>> Recently we found weird behavior of AjaxDownloader (similar to
> this
> > > [1]
> > > >>>> one)
> > > >>>> For some reason at the moment download is initiated
> > > >>>> WebSocketBehavior::onClose is being called ....
> > > >>>> What is the reason for this?
> > > >>>>
> > > >>>>
> > > >>>> https://cwiki.apache.org/confluence/display/WICKET/
> > > >>>> AJAX+update+and+file+download+in+one+blow
> > > >>>>
> > > >>>> --
> > > >>>> WBR
> > > >>>> Maxim aka solomax
> > > >>>>
> > > >>>>
> > > >>
> > > >> ------------------------------------------------------------
> ---------
> > > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > >> For additional commands, e-mail: users-h...@wicket.apache.org
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > WBR
> > > > Maxim aka solomax
> > > >
> > >
> > >
> > >
> > > --
> > > WBR
> > > Maxim aka solomax
> > >
> >
> >
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
Regards - Ernesto Reinaldo Barreiro

Reply via email to