[Zope] pop back namespace from stack ?

Dieter Maurer dieter@handshake.de
Tue, 10 Oct 2000 23:44:09 +0200 (CEST)


Beuserie =?ISO-8859-1?Q?Fr=E9d=E9ric?= (stbrice dsi) writes:
 > How can I pop back one namespace from the stack ?. In fact I need the id
 > from the
 > dtml-method I'm was called from.
You can not (from DTML).

The caller must help you, e.g. by:

  calling method:
	....
	<dtml-let caller_id= document_id>
	  <dtml-var called_method>
	</dtml-let>
        .....

  called method:
	...
	<dtml-var caller_id>
	...

Dieter