[Zope] Defining a dictionary in ZPT?
michael nt milne
michael.milne at gmail.com
Thu Nov 1 08:48:04 EDT 2007
Hi
I've got this piece of code which is returning a keyerror on 'results' as I
haven't set up a dictionary for the variables. I'm not sure what the syntax
is for this within the ZPT. I've read about the 'options' dictionary. Can I
use that?
Thanks
<ul>
<span tal:define="query here/testquery">
<li tal content="results python: query(id='IT')">
<span tal:replace="results/firstname">First Name</span>
</li>
</span>
</ul>
--
michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20071101/099289bf/attachment.htm
More information about the Zope
mailing list