[Seaside] creating respons to feed into pdfcreator

a van schijndel avanschijndel at oxius.nl
Thu Jan 6 16:53:21 UTC 2011


I am updating my application to seaside30. To create pdf I use prince2
executable.  The htmlcontent to feed into the prince executable is
created with  a construction as described in
http://www.seaside.st/documentation/pdfs in the section of pdfReactor at
message asPDF . 
I am trying to understand how to do this in seaside30 but have trouble
to find a way to do it now the respons is generated using a notification
and response is only accessible via (current)requestContext.
original example: 

  | handler response |
  handler := WARenderContinuation root: (PDFRoot for: self).
  response := WAResponse new.
  handler context: (WARenderingContext new session: self session;
actionUrl: WAUrl new; yourself).
  handler processRendering: response.
  ^(PDFReactorClient default convertXHTML: response contents contents)

Can anyone point me into the right direction?
Thanks in advance

Arthur van schijndel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110106/d257f65f/attachment.htm

More information about the seaside mailing list