[Seaside] Printing plain/preformatted html code
philippe.marschall at gmail.com
Sat Nov 28 11:29:54 UTC 2009
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
More information about the seaside