4 Jan
2000
4 Jan
'00
3:48 p.m.
hi richard,
to iterate over a list of e.g. File objects in a folder named myFolder you could do this:
<dtml-in "myFolder.objectValues(['File'])"> Found file id <dtml-var id> with name <dtml-var title> </dtml-in>
the objectValues function takes a list as argument, so you could look for more than one type:
<dtml-in "myFolder.objectValues(['File', 'Image'])"> .....
the ZQR (Zope Quick Reference) is a good place to look for documentation, it's at http://www.zope.org/Members/ZQR
Yeah, but that information wasn't in it at all. And how can I search for just ONE child of a node by name? That is what I want, really. Greetz, RS