[Zope] Re: Doubt about the ZPT example in Using Zope Page Templates
Dieter Maurer
dieter@handshake.de
Fri, 27 Jun 2003 20:15:04 +0200
Josef Meile wrote at 2003-6-27 12:28 +0200:
> > using "python:item.title or default" or even cleaner, a
> > tales-statement: "item/title | default" just might help..
> I also think that the later is cleaner, but it doesn't work for
> me. I did:
> <td tal:content="item/title | default">No Title</td>
>
> But I got the same results when doing:
> <td tal:content="item/title">No Title</td>
Because "item/title" is defined (just empty).
Dieter