[Zope] Re: Doubt about the ZPT example in Using Zope Page Templates

Josef Meile jmeile@hotmail.com
Fri, 27 Jun 2003 12:28:19 +0200


> item/title is not valid python syntax.
Ok I see.

> 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>