zope-bounces@zope.org wrote on 12/07/2004 10:15:50 AM:
On Tue, Dec 07, 2004 at 03:50:12PM +0100, Florent Guillaume wrote:
You can just do:
<td tal:content="structure python:transfer.server or ' '">server</td>
yes. But I'd rather do it like:
<td tal:content="structure python:transfer.server or default"> </td>
--
Paul Winkler http://www.slinkp.com _______________________________________________ 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 )
Thanks all for the many different ways to do this. It has really opened my eyes to the potential of TAL and Zope. I will use: <td tal:content="structure python:transfer.server or default"> </td> as that seems to be the clearest way of doing this; however, I am reviewing all of the other options to learn from this as well. Thanks again!