[Zope-dev] objectValues(spec) does not work!?

Christopher Petrilli petrilli@digicool.com
Fri, 13 Aug 1999 11:14:28 -0400


> I have the following problem in dtml:
> 
> <!--#in "objectItems('Folder')"-->
>  .
> .
>  .
> <!--#/in-->
>
> does not work! Neither does objectItems('[Folder]'), but a plain
> <!--#in objectItems--> works... I have looked at the code in ObjectManager.py
> and DT_Util.py, but can't figure it out...

You're mispelling it:

    <!--#in "objectItems(['Folder'])"-->

objectItems, along with other such things expect a *list* of meta-types.

Chris

--
| Christopher Petrilli        Python Powered        Digital Creations, Inc.
| petrilli@digicool.com                             http://www.digicool.com