[Zope] How to pass parameters to dtml methods in making dtml-call
Hi, The case is like this: dtml-var "some_dtml_method(_.None, _, para='blablabla')" Works fine. dtml-call "some_dtml_method(_.None, _, para='blablabla')" The system complains the para being unknown. How come? cheers Dirksen __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ ___ 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 )
Re: [Zope] How to pass parameters to dtml methods in making dtml-call
I tried your code and it works fine both ways for me, are you sure that para exists in the second scenario. DR Dirksen wrote: Hi, The case is like this: dtml-var "some_dtml_method(_.None, _, para='blablabla')" Works fine. dtml-call "some_dtml_method(_.None, _, para='blablabla')" The system complains the para being unknown. How come? cheers Dirksen __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ ___ 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 )
Re: [Zope] How to pass parameters to dtml methods in making dtml-call
Dirksen writes: dtml-call "some_dtml_method(_.None, _, para='blablabla')" We do this often (Zope 2.1.6) and it works as expected. Dieter ___ 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 )