9 Oct
2003
9 Oct
'03
1:59 p.m.
Florian Lindner wrote:
I want to render a HTML-Code only if retry has a value. Sounds easy, but somehow I didn't get. I tried: <p tal:condition="python: request.retry<>''">
That's not valid python ;-) request.retry!='' .. is that youre after
<p tal:condition="exists: request/retry"> <p tal:condition="request.retry">
But none of these works as I want to.
try: <p tal:condition="request/form/retry|nothing"> cheers, Chris