[Zope] Accessing higher namespace

Dieter Maurer dieter@handshake.de
Thu, 23 Aug 2001 21:35:48 +0200 (CEST)


Karsten Kraus writes:
 > if got a little problem with dtml-namespaces.
 > I'm using the dtml-in-tag for iterating over the results of a python script.
 > I want to compare the results with the id of the document which calls the
 > python script.
 > My Question is: how can I access the namespace "above" the
 > dtml-in-namespace?
 > 
 > Example
 > <dtml-let test="this().getId()">
 > <dtml-var test>	// prints the documents id.
 > <dtml-in "pythonmethod()">
 > <dtml-var test>	// 'test' is not in my namespace anymore! What now?
Why not. It should remain there!
 > </dtml-in>
 > </dtml-let>


Dieter