5 Nov
2007
5 Nov
'07
8:12 a.m.
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