[Zope] call an object from within a product

Dieter Maurer dieter@handshake.de
Wed, 30 Jan 2002 20:53:33 +0100


Benjamin Buffereau writes:
 > Dieter Maurer wrote:
 > > If you just want to access the object, then, you can use
 > > "restrictedTraverse". The calling magic is the difficult part.
 > 
 > No, I really would like to call the object from my product, using Zope wonderful
 > calling machinery.
When you are in DTML (or have a DTML namespace) and you have
an object "o", then you can use "_.render(o)".
This usually does what you want.


Dieter