[Zope] question on objectValues

Wombie Tomek lewombie at gmail.com
Wed Jan 19 21:59:49 EST 2005


I've trying to write a little dtml method that will out put a list of
images in a given location using a variable "path" with is passed from
a form.  ?path=photos1...

but haven't had much luck because it doesn't seems to interpret the
variable i want to be a path.  if i put the path directly into the
program ie "photos1.objectValues()" it works.  but i need it to be
feed from a variable path.

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

<folder path="wombat/&dtml-id;/" name="&dtml-title_or_id;"
amount="<dtml-in expr="objectValues(['CMF ZPhoto'])"><dtml-if
sequence-end><dtml-var
count-description></dtml-if></dtml-in>"/>

</dtml-in>

this should simple ;-)  but i'm missing something.

thanks...

holden


More information about the Zope mailing list