[Seaside] Printing plain/preformatted html code
smalltalk at netrogue.de
Sat Nov 28 19:22:40 UTC 2009
Great, that helped.
On Nov 28, 2009, at 12:29 PM, Philippe Marschall wrote:
> 2009/11/28 Ole Voß <smalltalk at netrogue.de>:
>> Hi all,
>> I am interfacing two applications, one written in perl and one in smalltalk. I need to read and output already formatted html code (written to the filesystem by the perl code) using the smalltalk and seaside. I have all the code for finding the file and reading the html-text, unfortunately I can't find a way to output this plain html using seaside. Obviously this won't work:
>> html text: myhtmlfilecontents.
>> Scanning WAHtmlCanvas didn't bring up anything either.
>> Can somebody point me in the right direction?
> If you just want to output a some HTML without escaping you can use:
> html html: myhtmlfilecontents
> If you have a full HTML document you can try something along the lines of:
> self session returnResponse: (WAResponse new
> contentType: 'text/html;
> nextPutAll: myhtmlfilecontents;
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside