[Zope] ignore empty fields with tal
Dean Hale
dean.hale at sunderland.ac.uk
Mon Sep 8 15:36:21 EDT 2003
>
>
>
> hi
>
> i'm currently using below
>
> etc
> <tr tal:repeat="opening here/subject_sources">
> <td>
> Title and URL <a href="link" tal:attributes="href opening/url"><span
> tal:replace="opening/title">title</span></a>
> </td>
> </tr>
> etc
>
> which queries an sql db.
>
> some of the titles have url's some haven't.
>
> using above - all titles are links, is there a way to ensure that the
> titles are not displayed as links if the record is empty?
>
> thanks
> dean
>
> ----
>
> Dean Hale
> Web Development Manager
> Information Services
>
> 0191 515 2424
>
>
More information about the Zope
mailing list