[Zope] How to Pass values to a DTML method ??

Rik Hoekstra rik.hoekstra@inghist.nl
Mon, 11 Sep 2000 21:00:28 +0200



> I have a DTML method that is called from a document. I need to pass a
value
> to it like a parameter would be passed to a function.
>
> <dtml-var some_method(param=value)>


try something like:

<dtml-var "method_name(_.None, _, param=value)">

or:

<dtml-var "method_name(_.None, _, arg1=value1, arg2=value2)">

for a longer expose see the faq:
http://zdp.zope.org/projects/zfaq/faq/DTML/955111628

hth

Rik