Stupid me of not knowing anymore what i committed myself AbstractResourceStreamWriter writer = new AbstractResourceStreamWriter() { write(OutputStream output) { // do your generation and output } }; RequestCycle.get().setRequestTarget(new ResourceStreamRequestTarget(writer," test.zip")); johan
P.S. not everything of this example is yet in a release (will be 1.3rc3) On Dec 13, 2007 1:16 AM, Gabor Szokoli <[EMAIL PROTECTED]> wrote: > On Dec 12, 2007 11:58 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > ((WebResponse)r.getResponse).setAttachmentHeader("foo.xls"); > > Indeed! > Thank you. > > > Gabor Szokoli > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >