[Zope] DTML rendering from python?

Dylan Reinhardt zope@dylanreinhardt.com
Thu, 23 Jan 2003 14:08:24 -0800


At 10:39 AM 1/23/2003, Michiel Toneman wrote:
>There is something odd going on in my product though. I tried a
>different approach to the problem and managed to write the finished DTML
>source into a standard PropertySheet text-property. Now I rendered that
>variable in a seperate and standard DTML Document like:
>
><dtml-with "MyCMFolder.MyProductInstance">
>   <dtml-var rendered_html>
></dtml-with>
>
>And the dtml in "rendered_html" doesn't expand/render either.

By that, do you mean you get back the DTML code from rendered_html?

If so, try:  <dtml-var "rendered_html">

If that's not it, you might want to re-post this issue with a new subject 
and some additional detail about where the relevant objects are in your ZMI.

HTH,

Dylan