[Zope] Calling external methods with the current object

Phillip J. Eby pje@telecommunity.com
Thu, 12 Aug 1999 10:56:19 -0500


At 03:11 PM 8/12/99 +0200, Martijn Faassen wrote:
>And then it goes on how to call it with *other* DTML namespace stacks.
>But how do I refer to the current DTML namespace stack explicitly?
>'self' in DTML doesn't work.

Try:

def foo(_):
	return _['somevarfromdtmlnamespace']


And:

<!--#var "foo(_)"-->