[Zope] Calling a DTML Method with arguments
Dieter Maurer
dieter@handshake.de
Tue, 25 Jun 2002 23:59:24 +0200
douwe@oberon.nl writes:
> > Thanks Douwe, your answer is very close to what I need. How can
> > I call the
> > DTML Method inside a DTML Document (or Method) using only dtml?
>
>
> I try not to use DTML, so I'm quite sure:
>
> <dtml-var "dtmlMethod( _, REQUEST, Param=Value)"> should work though.
Almost:
<dtml-var "dtmlMethod(_.None,_, keyword_parameters_as_needed)">
In special cases, "_.None" will be replaces by a so called "client" object.
Lookup order is:
* keyword parameters
* client attributes
* "_" keys
More details:
<http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>
Dieter