[Zope] objectValues Question

Koch Marc Marc.Koch@dexia-bil.com
Wed, 3 Jan 2001 12:15:48 +0100


Hi,

I'm new to Zope and while 'playing' around I wondered about the following:

I've created a DTML method (called MyListFiles) that lists the 'File'
objects contained in a folder:

<ul>  <dtml-in "objectValues('File')">   <li><a href="<dtml-var
absolute_url>"><dtml-var id></a></li>  </dtml-in> </ul>
This works as expected when I run it using the 'View' tab.

Now when I create a DTML document and call this method like this:

<dtml-var MyListFiles>

it produces no output.

Why?


Thank You for any help

---------------------

Un courrier électronique n'engage pas son émetteur. Tout message susceptible de comporter un engagement doit être confirmé par un écrit dûment signé.

An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed.

Ein elektronischer Brief bzw. eine elektronische Nachricht ist für den Absender nicht verbindlich. Jede Nachricht,  welche eine Verpflichtung beinhaltet, muß schriftlich bestätigt und ordnungsgemäß unterzeichnet werden.

---------------------