[Zope] Displaying all subobjects

Phil Harris phil.harris@zope.co.uk
Wed, 27 Sep 2000 11:58:04 +0100


Actually,

This would probably work a bit better (since the last one doesn't work at
all 9¬) )

<dtml-in "objectItems()">
  <dtml-if "meta_type=='Folder'">
    <dtml-call "restrictedTraverse(_['id']+'/iterate')(_.None,_)">
  </dtml-if>
  <dtml-var id><br>
</dtml-in>


----- Original Message -----
From: <brocken22@gmx.de>
To: <zope@zope.org>
Sent: Wednesday, September 27, 2000 11:20 AM
Subject: [Zope] Displaying all subobjects


> The second dumb question today:It's a horrible one!!!!
> How to iterate over all subfolders?
> "objectValues" shows only the same level, where the method resides.
> Thanks.
>
> --
> Sent through GMX FreeMail - http://www.gmx.net
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )