[Zope] Problems with sequence-item

Taco Scargo taco@scargo.nl
Sun, 22 Oct 2000 18:34:52 -0700


Had already tried that, but it doesn't work.
I have 8 DTML Documents in a folder called artikelen.

<dtml-in "artikelen.objectValues('DTML Document')">
<dtml-var sequence-item>
</dtml-in>

Fails with the error:
Error Type: AttributeError
Error Value: __call__

I am really clueless....

Thanks,

Taco
----- Original Message -----
From: "Mark N. Gibson" <mark@kaivo.com>
To: "Taco Scargo" <taco@scargo.nl>
Cc: <zope@zope.org>
Sent: Sunday, October 22, 2000 3:52 PM
Subject: Re: [Zope] Problems with sequence-item
> In this example, <dtml-var sequence-item> is actually trying to call the
items
> in the folder.  In this case, at least one of the items is not callable
 like
> another folder).  If you did something like this:
>
> <dtml-in "folder.objectValues('DTML Method')">
> <dtml-var sequence-item>
> </dtml-in>
>
> You would see the results of 'viewing' or calling every DTML Method in
folder.
>
> Mark