I am attempting to implement a download button, where the user clicks it and they are asked to save the contents I stream out.

As far as I can tell.. the best way to go about doing this is to have a DirectLink with target=”_blank” and in the listener method to set the content type to application/octet-stream and stream it out..

 

I haven’t attempted this yet because this doesn’t seem a very “Tapestry-ish” solution. Is there a better way?

 

Thanks

 

Luke Galea

Software Development

BlueCat Networks

905-762-5225

 

Reply via email to