[Zope] retry <> '' ??

Chris Withers chrisw at nipltd.com
Thu Oct 9 09:59:39 EDT 2003


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




More information about the Zope mailing list