[Seaside] File for download

Louis LaBrunda Lou at Keystone-Software.com
Fri Jul 22 15:15:54 UTC 2011

Hi Boris,

This works great!  Sorry for not saying so sooner.  Is there a way to get
the download to open in another browser window/tab?  Some browsers do, some


>Once you have the bytes in hand the following should do the trick,
>self requestContext respond: 
>	[:response |
>	response document: ((#[1 2 3] seasideMimeDocument)
>					mimeType: 'application/pdf';
>					fileName: 'report.pdf';
>					yourself)].
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:Lou at Keystone-Software.com http://www.Keystone-Software.com

More information about the seaside mailing list