[Seaside] Creating and returning a pdf
marco.dambros at lu.unisi.ch
Thu May 14 22:59:13 UTC 2009
oops, the information was actually there, but under PDFReactor which I
initially skipped :-)
What I was looking for was this:
html submitButton on: #generateAndExport of: self
aFile := pdfFile readStream
contents := aFile contents.
self session returnResponse: (WAResponse
On May 15, 2009, at 12:33 AM, Marco D'Ambros wrote:
> Yes, but the problem is not really about pdf, but about creating a
> file and proving the url to that file in the same callback.
> Something like this, but working ;)
> html submitButton
> onClick: (html request callback: [self generateFile]);
> url: <link to the generated file>
> On May 14, 2009, at 11:54 PM, Lukas Renggli wrote:
>>> How can I do that?
>> Did you check <http://www.seaside.st/documentation/pdfs>?
>> Lukas Renggli
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside