9 May
2002
9 May
'02
6:38 p.m.
Dennis Allison writes:
Suppose I have two DTML documents and/or methods, method A and method B. Method A Creferences Method B --
Method A: ... <dtml-var name="B"> ...
which causes B to be published and it's "value" incorporated into A.
Now, suppose there are some variables in A's namespace and further suppose that they are needed in method B. The question is how to pass them from A to B. What is the proper syntax? You simply do nothing. It happens automatically.
See the "Name lookup" section of <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> to understand the DTML namespace. Dieter