27 Jun
2003
27 Jun
'03
6:15 p.m.
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