[Zope] access root folder from dtml

Michel Pelletier michel@digicool.com
Tue, 11 Jan 2000 11:58:58 -0500


> -----Original Message-----
> From: Andrey V Khavryutchenko [mailto:akhavr@compchem.kiev.ua]
> Sent: Tuesday, January 11, 2000 11:01 AM
> To: zope@zope.org
> Subject: [Zope] access root folder from dtml
> 
> 
> Hi!
> 
> How can I get root folder object in dtml code?

<dtml-with "PARENTS[-1]">
  ...
</dtml-with>

allways pushes the root object onto the dtml namespace stack.

-Michel