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

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to