[Zope] How does one refer to the root folder?

Itamar Shtull-Trauring itamars@ibm.net
Thu, 16 Mar 2000 13:13:48 +0200


Andres Corrada-Emmanuel wrote:

> Hi Zopistas,
>         Does one call it "PARENTS[-1]"? I'm trying to get an attribute of the root folder and I'm failing with the syntax-
>         <dtml-with "rootObject=_.getitem('PARENTS[-1]')">

<dtml-with "PARENTS[-1]">
	<dtml-var rootProperty>
</dtml-with>

should do the trick - although you have access to rootProperty in any case
because of acquisition:

<dtml-var rootProperty>

-- 
Itamar S.T.  itamars@ibm.net