[Zope] AttributeError

Marcel Preda marcel@punto.it
Tue, 4 Apr 2000 13:11:17 +0200


Hi ,
I have some problems wityh Zope.

When I use :
<dtml-with filetti>
  <dtml-var someobject>
</dtml-with>
I received the Zope error:


##############
...
...
File /usr/lib/zope/lib/python/DocumentTemplate/DT_With.py, line 132, in
render
    (Object: filetti)
AttributeError: __call__
##############

"filetti" is a folder at the top folder ( /)

If I copy filetti in the "current"  folder , will work but is not what I
want ( more than one objects are using this)

If I use:

<dtml-with "PARENTS[-1]">
<dtml-with filetti>
...
</dtml-with>
</dtml-with>

I get the error, too.

Has someone any idea?

Marcel