Hi, you'll have to update your page first and then initiate the download.
For Ajax you can use: https://github.com/apache/wicket/blob/master/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/AjaxDownloadBehavior.java For Wicket<8 you'll find its predecessor AjaxDownload on the web. Have fun Sven Am 19. April 2018 02:20:25 MESZ schrieb Lon Varscsak <lon.varsc...@gmail.com>: >Hey all, > >I've got a Link that I use to generate and download a report. I'm >using a >ResourceStreamRequestHandler and >getRequestCycle().scheduleRequestHandlerAfterCurrent which works fine, >except that I was expecting my current request to finish as if it were >a >regular link. In this case, I'd want it to refresh the page I'm on, >but it >doesn't do that. > >Anyway to accomplish this? > >-Lon