Zope problem: objectValues('Folder')

Max M maxm at mxm.dk
Thu Jul 10 04:20:36 EDT 2003


Jens Riedel wrote:

> I try to get a list of subfolders by using

> <ul>
> <dtml-in expr="objectValues('Folder')">
> <li><a href="&dtml-absolute_url;"><dtml-var title_or_id></a></li><br>
> </dtml-in>
> </ul>


If you have written it exactly like that, it should work. You have no 
folders inside the folder you are running it in then.


> Does anybody know where the problem with "objectValues('Folder/File')" is?


I assume you have not written your code that way, but rather:

     objectValues(['Folder','File'])


regards Max M





More information about the Python-list mailing list