[Zope] Accessing arbitrary Python objects from ZPT

Dieter Maurer dieter@handshake.de
Fri, 29 Mar 2002 21:18:30 +0100


Michael Lausch writes:
 > ....
 > i have some functions from a python application which give back objects
 > as their return value. i want to access attributes from these objects
 > from ZPT. I'm calling the functions via external methods which return
 > the objects. it is also possible to display the objects themselves
 > (their __str__ or __repr__ function is called). when i want to access a
 > member variable of such an object, zope wants me to authenticate again.
Please read the Zope developer guide. It should tell you about
the security declarations necessary to make attributes accessible
by TTW (Through The Web) code...


Dieter