--On 2. Januar 2008 14:44:24 -0400 Victor Subervi <[EMAIL PROTECTED]> wrote:


  <td tal:define="num python:here.scripts.getQuote">

As in nearly all other programming languages methods are called
with parentheses - or?


   <span metal:use-macro="here/en-us/quotes/?num/macros/quote" /><br />


Now, I thought that was the correct way to call the variable "num" (that
is, with the question mark: "?num"). Apparently, I'm mistaken. I've even
tried defining it this way:

Not sure if using the '?' will working within a TALES expression. It will
at least work as the last item with an expression. However it will fail in general if 'num' is an integer.

-aj

Attachment: pgppLEvqehHSY.pgp
Description: PGP signature

_______________________________________________
Zope maillist  -  Zope@zope.org
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 )

Reply via email to