<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  -  [EMAIL PROTECTED]
> 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 )

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to