How about objectValues(['STX_Document','Page Template','DTML Document']) hth Phil ----- Original Message ----- From: "Frank Sonnemans" <fs.mail@wanadoo.be> To: "zope" <zope@zope.org> Sent: Tuesday, July 03, 2001 1:27 PM Subject: [Zope] Non short-circuit or statement (listing multiple document categories)
What is the correct way to generate a list of documents of several types.
I used the following statement, which only lists the documents of the first category matched.
<dtml-in expr="objectValues('STX_Document') or objectValues('Page Template') or objectValues('DTML Document')" sort="bobobase_modification_time" reverse>
So if there are no STX_Document's the Page Template's get listed, but not the DTML Documents.
Regards,
Frank
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )