[ZPT] Only minorly sick now...

Chris Withers chrisw@nipltd.com
Mon, 10 Sep 2001 15:54:40 +0100


Chris Withers wrote:
> 
> Can someone help me turn:
> 
> <td><dtml-var title null="&nbsp;"></td>
> 
> ...into ZPT?

Slightly nicer:

<td tal:content="structure python:path('item/title') or '&nbsp;'">Title</td>

...but this is still 'or' abuse and is getting dtml-esque in it's nastiness :-(

What do the PythonLabs or ZopeCorp guys feel about the 'right' way to do this?

cheers,

Chris