Hi,

Better use IResource for this.
See WebApplication#mountResource() and
http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/

On Thu, Oct 11, 2012 at 12:37 PM, 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]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to