10 Mar
2003
10 Mar
'03
9:28 p.m.
Pavel Zaitsev wrote at 2003-3-10 02:09 -0800:
I have a python script(pyfoo) that expects 2 parameters foo1 and foo2. I'd like to invoke the script from a dtml code.
So dtmlfoo is:
----------------------------------- <dtml-var pyfoo>
When it expects parameters you should pass them! <dtml-var expr="pyfoo(arg1,arg2)"> The alternative (I do not recommend it!) would be to bind the DTML namespace. Dieter