[ZPT] DTML 2 ZPT question

Peter Bengtsson mail@peterbe.com
Mon, 10 Sep 2001 16:49:12 +0200


> > <td tal:content="here/title | default">&nbsp;</td>
>
> Nope... the problem is that title exists, it's just a blank string.
>
> The above would work if title didn't exist (well, see my earlier question
about
> alternate paths...) but because it does here, all I get in the output is:
>
> <td></td>
>
> ...which shows up badly ;-(

<td tal:content="here/title | default">&nbsp;</td>
becomes <td>&nbsp;</td> since 'default' is '&nbsp;'

Didn't that work?



> Any other ideas?
>
> cheers,
>
> Chris
>
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt