[ZPT] Select/Repeat Syntax

Philip Kilner phil at xfr.co.uk
Mon Aug 2 23:11:49 EDT 2004


Hi List,

Rendering (or trying to!) a drop down list of dates from a ZSQL method 
"rsOpenAssessments", I have: -

<select name="Assessdate"
         tal:define="AssessList here/rsOpenAssessments">
   <option tal:repeat="Assess AssessList"
           tal:attributes="value repeat/Assess/ExaminationDate"
           tal:content="Assess/ExaminationDate">ExaminationDate
   </option>
</select>

...but I'm getting "AttributeError: ExaminationDate" - ExaminationDate 
is a column in my ZSQL.

Can anyone see where I've messed up?


-- 

Regards,

PhilK

Email: phil at xfr.co.uk / Voicemail & Facsimile: 07092 070518

"The lyf so short, the craft so long to learne" - Chaucer



More information about the ZPT mailing list