[Zope] folder.objectValues() help

BZ bz at bwanazulia.com
Mon Aug 18 14:10:06 EDT 2003


I would like to get back a list of objects, from a folder that have a
parameter checked off in them:

So, I would like to get back a list of items "Item Name" that also have
been approved (check box value)

These do not work:
<dtml-in "folder.objectValues('Item Name') and approved" size="3">
<dtml-in "folder.objectValues('Item Name' and approved)" size="3">

This works:
<dtml-in "folder.objectValues('Item Name') reverse size="3">
<dtml-if approved>

But would not show three, if one was not approved.

I know it is some little snipped I am missing..

BZ



More information about the Zope mailing list