ok, thanks Duncan
<ul>
<li tal:define="query nocall:here/testquery" tal:repeat="result
python:query(id='IT')">
<span tal:replace="result/lastname">lastname goes here</span>
</li>
</ul>
Good that you got it working. By the way, why do you need to define
"query"? Do you really need a reference to the testquery function? Won't
be enough by writing:
<li tal:repeat="result python:here.testquery(id='IT')">
Or are you using "query" somewhere else?
Best regards
Josef
_______________________________________________
Zope maillist - [email protected]
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 )