Re: [Zope] Displaying all subobjects

2000-09-28 Thread brocken22
Thank you very much Curtis, it's working and is quite more elegant. If it's possible to you, could you give me a hint about my last question 'Baseclass:Folder or ObjectManager'. Best wishes Sven -- Sent through GMX FreeMail - http://www.gmx.net _

Re: [Zope] Displaying all subobjects

2000-09-27 Thread Jeff Hoffman
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):

Re: [Zope] Displaying all subobjects

2000-09-27 Thread brocken22
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 maill

Re: [Zope] Displaying all subobjects

2000-09-27 Thread Chris Withers
Phil Harris wrote: > > > > > > How about this : cheers, Chris PS: I find this sort of thing is often best done in an external method. Or a python product (see the __call__ thread on zope-dev for all the fun you can have there ;-) ___

Re: [Zope] Displaying all subobjects

2000-09-27 Thread Phil Harris
Actually, This would probably work a bit better (since the last one doesn't work at all 9¬) ) - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 27, 2000 11:20 AM Subject: [Zope] Displaying all subobjects > The second dum

Re: [Zope] Displaying all subobjects

2000-09-27 Thread Phil Harris
How about, create an dtml-method called iterate: with this contents: The you can call this like so, from any other DTML_XXX: or Or .. hth Phil [EMAIL PROTECTED]