[Zope] dtml access to "container" within zclass

Dieter Maurer dieter@handshake.de
Sun, 18 Aug 2002 23:52:15 +0200


Ra writes:
 > is there any way to gain access to an instance of a zclass from a dtml 
 > method that is within that zclass?
When called from ZPublisher (i.e. the Web),
it should run in the context of this Z instance, i.e. the instance
is at the top of the DTML namespace.
You can (under these conditions) use its "this" method to get
the instance itself.


Dieter