<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
Hi,<BR>
<BR>
I am updating my application to seaside30. To create pdf I use prince2 executable.&nbsp; The htmlcontent to feed into the prince executable is created with&nbsp; a construction as described in <A HREF="http://www.seaside.st/documentation/pdfs">http://www.seaside.st/documentation/pdfs</A> in the section of pdfReactor at message asPDF . <BR>
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.<BR>
 <BR>
original example: <BR>
<BR>
asPDF<BR>
&nbsp; | handler response |<BR>
&nbsp; handler := WARenderContinuation root: (PDFRoot for: self).<BR>
&nbsp; response := WAResponse new.<BR>
&nbsp; handler context: (WARenderingContext new session: self session; actionUrl: WAUrl new; yourself).<BR>
&nbsp; handler processRendering: response.<BR>
&nbsp; ^(PDFReactorClient default convertXHTML: response contents contents) getPDF.<BR>
<BR>
Can anyone point me into the right direction?<BR>
Thanks in advance<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
--<BR>
Greetings,<BR>
<FONT SIZE="4">Arthur van schijndel</FONT><BR>
<BR>
</TD>
</TR>
</TABLE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
</TD>
</TR>
</TABLE>
<BR>
</BODY>
</HTML>