[Zope] Defining a Variable
Victor Subervi
victorsubervi at gmail.com
Fri Jan 4 09:59:25 EST 2008
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 <dieter at handshake.de> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20080104/417c6a62/attachment.htm
More information about the Zope
mailing list