On 3/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I thought I could call a variable in a page template by defining it and then
putting a ? in front of it in a URL, like this:


Incorrect, you can only use ? to interpolate variables into a path expression:

 <span tal:define="foo string:bar"
             tal:content="here/?foo"></span>

The above example will look up 'bar' and render it as the content of the span.

--
Martijn Pieters
_______________________________________________
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