Of course it is. Seaside has a powerful renderer.
You can use it like this anytime:
pieceOfHtml := WARenderCanvas builder render:[:html|
yourRendereableReportThingy renderOn: html].
I used that in an abstract policy of
sanitize like this:
SanitizePolicy>>renderClean
"Iterates the dom but only rendering the allowed elements and attributes."
^ WARenderCanvas builder render:[:html|
self renderCleanOn: html]
On Oct 23, 2010, at 2:01 PM, Thierry Thelliez wrote:
Is it possible to grab the html generated by Seaside to create static pages?
I am building long reports with Seaside. These reports are too slow to
render live. They can be generated in the background once a day.
Is it possible to dump the result of renderContentOn: in a static page? How?
Thanks,
Thierry
_______________________________________________
seaside mailing list
[hidden email]http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside