[Zope] How to Pass values to a DTML method ??

Daniel Rusch drusch@globalcrossing.com
Mon, 11 Sep 2000 13:32:40 -0500


<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 )