[Zope] call zpt methods in dtml
Dieter Maurer
dieter@handshake.de
Wed, 18 Jun 2003 20:48:42 +0200
nagendra prasad wrote at 2003-6-18 15:06 +0100:
> how do i call zpt in dtml?
Options:
<dtml-var myZPT>
<dtml-var expr="myZPT(a,b,c)">
The first form calls "myZPT" without parameters,
the second with "a,b,c". In "myZPT" you can access arguments via
the "options" variable (a dictionary). "args" is the tuple of
positional arguments, all other keys specify keyword arguments.
Read more in the Zope Book (2.6 edition).
Dieter