[Zope] Re: Accsessing the folder above

Maik Jablonski maik.jablonski@uni-bielefeld.de
Sun, 29 Sep 2002 17:46:36 +0200


Sebastian Queißer wrote:
> Hi!
> 
> I'm trying to display all folders in the folder above my
> product(derived from a folder) in a tree. It must be something like this:
> 
> <dtml-tree branches_expr="Subfolder.objectValues(['Folder'])">
> ...
> </dtml-tree>
> 
> The problem is, that this doesn't work. I search something for
> "Subfolder", which includes the folder above.

hi,

<dtml-tree branches_expr="aq_parent.objectValues(['Folder'])">

cheers, maik

-- 
Maik Jablonski                 __o
www.zfl.uni-bielefeld.de     _ \<_    Deutsche Zope User Group
Bielefeld, Germany          (_)/(_)               www.dzug.org