9 Aug
2002
9 Aug
'02
7:42 a.m.
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