[Zope] newbie, accessing query results?
Daniel Tartaglia
daniel_t at earthlink.net
Fri Aug 22 12:49:22 EDT 2003
I have the name of a file that I am passing into the page template
using my_url?fileid="foo". I then want to access the properties of that
file from within the zpt.
my zpt looks like:
<html>
<body tal:define="dentist here/REQUEST/fileid">
<span tal:replace="container/dentist/firstName">first_name</span>
<span tal:replace="container/dentist/lastName">last_name</span>
<br>
<span tal:replace="container/dentist/city">first name</span>
<br>
</body>
</html>
The error I get is:
Error Type: TypeError
Error Value: sequence index must be integer
Does anyone know what I'm doing wrong? Thanks.
More information about the Zope
mailing list