RE: [Zope] How to call functions in DTML?
9 Aug
2002
9 Aug
'02
7:41 a.m.
To call python functions from within a document: <dtml-var expr="python_script(attr1, attr2, ...)"> Is 'expr=' necessary? I always use: <dtml-var "python_script(attr1, attr2, ...)">
and it works. Regards, Josef.
9 Aug
9 Aug
7:42 a.m.
New subject: [Zope] How to call functions in DTML?
Josef Meile wrote:
To call python functions from within a document: <dtml-var expr="python_script(attr1, attr2, ...)">
Is 'expr=' necessary? I always use: <dtml-var "python_script(attr1, attr2, ...)">
and it works.
<dtml-var "..."> is a shortcut for <dtml-var expr="...">. dtml-code gets a little more readable if you use the expr-syntax. example: <dtml-var objectValues> is definitly not <dtml-var "objectValues"> but both look similar... -maik
8641
Age (days ago)
8641
Last active (days ago)
1 comments
2 participants
participants (2)
-
Josef Meile -
Maik Jablonski