[Zope] question on objectValues

Garth B. garthb at gmail.com
Wed Jan 19 22:31:44 EST 2005


holden, take a look at the functions restrictedTraverse(path) and
perhaps unrestrictedTraverse(path).  These may not be the most
appropriate functions to use, but they will return an object reference
using a path (such as "folder/subfolder/page").  In your example it
could look something like the following:

<dtml-in expr="restrictedTraverse(path).objectValues('CMF ZPhotoSlides')">

This is, of course, relative to the folder/object you are currently "in".

If anyone has a more appropriate solution, I'd be interested in
hearing about it, too!

Garth


More information about the Zope mailing list