[Zope] Calling a Variable

tonylabarbara at aol.com tonylabarbara at aol.com
Thu Mar 8 13:45:28 EST 2007


Thanks for clarifying that!
Tony 
 
-----Original Message-----
From: mj at zopatista.com
To: tonylabarbara at aol.com
Cc: zope at zope.org
Sent: Thu, 8 Mar 2007 2:14 PM
Subject: Re: [Zope] Calling a Variable


On 3/8/07, tonylabarbara at aol.com <tonylabarbara at aol.com> 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 
________________________________________________________________________
AOL now offers free email to everyone.  Find out more about what's free from AOL at AOL.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070308/ed63377a/attachment.htm


More information about the Zope mailing list