----- Original Message ----- From: "Gabriel Genellina" <gagenellina@softlab.com.ar> To: "Andreas Jung" <andreas@andreas-jung.com>; <zope@zope.org> Sent: Thursday, November 29, 2001 20:07 Subject: Re: [Zope] dtml-in for another folder
At 19:48 29/11/2001 -0500, you wrote:
The same thing when I try to use a full path: <dtml-in /FolderA/objectValues>
Try <dtml-in "FolderA.objectValues()">
Ok! It works now! Thanks! And, what if I want to reference the root folder? or a parent folder? I feel lost in a sea of documentation...
You can get the root object by calling getPhysicalRoot(). The parent folder is reachable by PARENTS[0]. See AppendixB of the Zope Book. Or see http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html Section Traversal. Cheers, Andreas