Dmitry Slusarchuk writes:
I'm new to Zope development but I have already encountered such a problem:
dtml-var myimage from dtml document generates the following:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: AttributeError
Error Value: __call__
this problem disappears when I do smth like dtml-var myimage
from dtml method. what should I do?
In addition
I run Zope ver. 2.2.2 and Python 1.5.2 under Win98.
This looks like the "cDocumentTemplate/Acquisition" bug
(see the locator (URL:http://classic.zope.org:8080/Locator)
for a description).
The problem usually occurs in the context of a
dtml-with folder
You can work around it by using
dtml-with "PARENTS[0].folder"
instead.
Dieter
___
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 )