11 Sep
2000
11 Sep
'00
6:32 p.m.
<dtml-var "some_method(param='Test')"> 'Test' is single quoted if it is a string, if it is a variable then don't quote it. Notice also the double quotes "some_method(param='Test')" Dan Stuart Foster wrote:
I have a DTML method that is called from a document. I need to pass a value to it like a parameter would be passed to a function.
<dtml-var some_method(param=value)>
Thanks
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )