[Zope] Problems with sequence-item

Taco Scargo taco@scargo.nl
Sun, 22 Oct 2000 14:56:21 -0700


I get errors when sequence-item is being called to list the contents of a
folder

E.g.
<dtml-in "(1,2,3)" reverse>
<dtml-var sequence-item>
</dtml-in>

correctly outputs 3 2 1

When I do

<dtml-in "folder.objectValues()">
<dtml-var id>
</dtml-in>

it correctly outputs all ids in the folder.

But

<dtml-in "folder.objectValues()">
<dtml-var sequence-item>
</dtml-in>

will fail with an error
Error Type: AttributeError
Error Value: __call__

What am I doing wrong ?

Thanks,

Taco Scargo




________________________________________________________
                           1stUp.com - Free the Web
   Get your free Internet access at http://www.1stUp.com