[Zope] Passing variables to a DTML method ...

Darran Edmundson Darran.Edmundson@anu.edu.au
Fri, 24 Sep 1999 01:03:28 +1000


Could someone explain how to pass variables to a
DTML method?  For example, if I have the following
in a DTML method:

 <dtml-call "REQUEST.set('testvar', 'value')">
 <dtml-var "calledmethod(REQUEST)">

How can calledmethod access the variable testvar?  I
thought that calledmethod gets the REQUEST namespace
on thus <dtml-var testvar> would work.

I read Amos' How-to:
http://www.zope.org/Documentation/How-To/AdvancedDTML
but I'm still struggling.

Cheers,
Darran.

-- 
Darran Edmundson [Darran.Edmundson@anu.edu.au]