Thank you both. However, it still doesn't work :( I have replaced "getQuote" with "getQuote()", but to no avail. Other ideas? *Error Type: RuntimeError Error Value: external method could not be called because it is None* *TIA,* *Victor*
On Jan 3, 2008 2:26 PM, Dieter Maurer <[EMAIL PROTECTED]> wrote: > Victor Subervi wrote at 2008-1-2 14:44 -0400: > > ... > ><html> > ><body> > ><table> > > <tr> > > <td tal:define="num python:here.scripts.getQuote"> > > As Andreas already has pointed out, you probably need "getQuote()" > rather than "getQuote" (as the name suggests, it is a method not a > value). > > > <span metal:use-macro="here/en-us/quotes/?num/macros/quote" /><br /> > > "?var" in a path expression means: replace "?var" by the value of "var". > > Therefore, if "num" contains the right value, the above should work. > > > > -- > Dieter >
_______________________________________________ Zope maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
