[Zope] howto force rendering of a dtml doc

Dieter Maurer dieter@handshake.de
Tue, 19 Sep 2000 22:16:24 +0200 (CEST)


Ralph Heinkel writes:
 > Hi,
 > 
 > having a structure like
 > FolderA
 >       DocA
 > FolderB
 >      DocB
 > 
 > I try to display DocA from within DocB using
 > 
 > <dtml-var "FolderA.DocA">
 > 
 > which basically works, except that HTML code from DocA is not rendered but
 > printed as plain ascii (e.g. I can see the <br> statements as these 4
 > characters).

You should use:
  <dtml-with FolderA><dtml-var DocA></dtml-with>

You may use:
  <dtml-var "FolderA.DocA(_.None,_)">

Search the list's archive, when you want to learn more about
this magic.


Dieter