22 Aug
2003
22 Aug
'03
3:49 p.m.
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.