On Thu, Nov 01, 2007 at 12:48:04PM +0000, michael nt milne wrote:
> 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.
> <span tal:define="query here/testquery">
> <li tal content="results python: query(id='IT')">
> <span tal:replace="results/firstname">First Name</span>&nbsp;
> </li>

"<li tal content" doesn't make any sense.

I suspect you want that to be:

<li tal:define="results ...


Paul Winkler
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to