How about,
Woah there boy! This is completely untested and untried in any way,
caveat emptor!!
create an dtml-method called iterate:
with this contents:
dtml-in "objectItems()"
dtml-if "meta_type == 'Folder'"
dtml-call "id['iterate']"
/dtml-if
dtml-var idbr/
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 idbr
/dtml-in
- Original Message -
From: [EMAIL
Phil Harris wrote:
dtml-in "objectItems()"
dtml-if "meta_type=='Folder'"
dtml-call "restrictedTraverse(_['id']+'/iterate')(_.None,_)"
/dtml-if
dtml-var idbr
/dtml-in
How about this untested:
dtml-in "objectItems()"
dtml-if "meta_type=='Folder'"
dtml-with sequence-item
Hallo Chris,
thanks for the quick reply, but the method is displaying all the objects
in the folder and I'd like to get only one metatype of
objects(i.e.ZClass-cars)but for all levels.
--
Sent through GMX FreeMail - http://www.gmx.net
___
Zope
On Wed, 27 Sep 2000 [EMAIL PROTECTED] wrote:
Hallo Chris,
thanks for the quick reply, but the method is displaying all the objects
in the folder and I'd like to get only one metatype of
objects(i.e.ZClass-cars)but for all levels.
Try creating a DTML Method called 'iterate' (tested):
ul