[ZPT] OR

alex alex@quad.com.ar
Thu, 6 Dec 2001 22:37:44 -0300


I was wondering how the `|' operand works

does | just evaluates None as false ?
what about empty strings like '' ?

I basically want:
<td tal:content="item/foo | default">&nbsp;</td>

but if foo='' then '' is printed instead of &nbsp;

why doesn't it work as the DTML's or ?

thanks

Alex