Hello,

i have focused my problem on this:

having a Python Script "testScript":
------------------------------------
class obj:
a = 1
b = 2
c = 3

return obj()
------------------------------------

and a DTML Document "testWith":
-------------------------------
<dtml-with testScript>
 <dtml-var a>
</dtml-with>
-------------------------------

when i try to view the DTML Document, i get an "Unauthorized" Exception.....
I believe this has something to do with the security mechanism of Zope. What must i return from the Python Script in order for the DTML Document to work?


Thanks for any help
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to