if your are using wicket > 1.5.x maybe RequestCycle.get().scheduleRequestHandlerAfterCurrent(handler);
will solve your problem. On Thu, Oct 11, 2012 at 2:37 AM, Douglas Ferguson <[email protected]> wrote: > I've done downloads before in wicket by creating a resource stream, but > this requires a user to click on a button or some other ajax. > > I'd like to create a page that will stream content back to the user based > on parameters. > > This means I'd have bookmarkable urls for download and it would be secured > based on my wicket authentication. > > I assuming I can just get hold of the response from the RequestCycle to > stream the bytes. > But I'm not sure the how to create a page without markup and also prevent > wicket from trying to write to the response. > > Douglas > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Regards - Ernesto Reinaldo Barreiro Antilia Soft http://antiliasoft.com
