Zope problem: objectValues('Folder')

Max M maxm at mxm.dk
Thu Jul 10 05:15:24 EDT 2003


Jens Riedel wrote:

> Max M schrieb:
> 
>>> <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.
> 
> 
> That's my problem. I followed the instructions of the Zope Book example 
> exactly and created 3 folders in the folder I use the 
> objectValues()-method on.


hmmm ... it is not a zope problem. objectValues() works!

try

<ul>
   <dtml-in objectValues>
     <li>&dtml-meta_type;</li>
   </dtml-in>
</ul>


That should give a hint.

regards Max M





More information about the Python-list mailing list