Hi,<br><br>I do something like that:<br><br>contents := (WARenderCanvas builder)<br>        fullDocument: true;<br>        rootBlock:<br>                [:root | <br>                    root meta<br>                        contentType: self session contentType<br>

                        charset: self session charSet];<br>        render: [:html | componentToPrint renderContentOn: html].<br><br><br>Denis<br><br><div class="gmail_quote">2009/5/14 Marco D&#39;Ambros <span dir="ltr">&lt;<a href="mailto:marco.dambros@lu.unisi.ch">marco.dambros@lu.unisi.ch</a>&gt;</span><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I need to write a seaside component which understands #renderContentOn: on an external file.<br>
Let&#39;s say that the component is called componentToPrint, what I want to do is to redirect the output (what gets written on the html document) of<br>
<br>
html render: componentToPrint<br>
<br>
on an external stream.<br>
<br>
How can I do it?<br>
<br>
cheers<br>
Marco<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div><br>