[Zope] Get Elements in Current Folder

Joel Burton jburton@scw.org
Thu, 19 Jul 2001 19:48:25 -0400 (EDT)


On Thu, 19 Jul 2001, Chris Bruce wrote:

> If I have a dtml method inside of a folder, how should I constuct the
> <dtml-in> statement to get the folder that the method is in?

  <dtml-in "ParentFolder.objectValues()">

or

  <dtml-in "aq_parent.objectValues()">

or (flawed and cheezy, but easy to remember; assume the enclosing folder
is "pizza")

  <dtml-in "pizza.objectValues()">

-- 
Joel Burton   <jburton@scw.org>
Director of Information Systems, Support Center of Washington