Thanks Tres, Sascha and Jirka for your help.

I used the following and it works great (without some formatting for
clarity):
<tr tal:define="customer container/getCustomerLicences"
tal:condition="customer">
    <td>Customer: <span
tal:content="python:customer[0]['full_name']"></span></td>
</tr>

The above condition checks that 'customer' is not empty.

I think I'll need to do some more reading up on "path expressions" and
"python expressions".  Still mentally confusing to me.

Julian

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to