[Zope] Output only the first or a particular record using TAL

Sascha Ottolski sascha.ottolski at gallileus.de
Wed Sep 14 05:08:22 EDT 2005


Am Mittwoch, 14. September 2005 06:48 schrieb Julian Yap:
> I was along the lines of something like this:
> <tr tal:define="x container/getCustomerLicences">
>     <td tal:replace="x/full_name[0]></td>
> </tr>

you can't mix "path expressions" and "python expressions". try something like

<td tal:replace="python: x.full_name[0]></td>


Cheers, Sascha


More information about the Zope mailing list