18 Jun
2003
18 Jun
'03
6:48 p.m.
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