[Zope] passing context using expr="dtml_method()"?

Dieter Maurer dieter at handshake.de
Fri Dec 5 15:42:58 EST 2003


John Withers wrote at 2003-12-4 10:07 -0800:
> ...
>When I am calling a dtml method using a dtml tag such as <dtml-var
>mymethod> it appears to pass the namespace of the calling document.
>
>However, when I am calling a dtml method using the expr syntax, such as 
><dtml-var expr="mymethod()"> it doesn't. 

Reading "Calling DMTL objects" in

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>

may help you.

-- 
Dieter



More information about the Zope mailing list