[Seaside] How to set the filename of a returned document?

Ian Prince ian at inextenso.com
Wed Oct 29 17:22:43 CET 2003


My application returns pdf files with:

MyComponent>>renderContentOn: html
	html anchorWithDocument: contents
				mimeType: 'application/pdf'
				text: 'download'.

The pdf  files returned have names based on the session ids, e.g. 
@kMhhyhwLYiKxjcRl

How can I go about  setting the filename of the returned document to 
something else, such as "generated_document.pdf"?

Thanks,

Ian.



More information about the Seaside mailing list