[ZPT] (newbie) conditional content based on request

Evan Simpson evan@digicool.com
Thu, 17 May 2001 11:28:35 -0400


From: "Thomas Olsen" <tol@iconmedialab.dk>
> Now it would be great to be able to do:
> 
> <p tal:condition="(exists) request/dit and request/dit=='dat'">
> Print this
> </p>

In the next release:

<p tal:condition="python:path('request/dit | nothing') == 'dat' ">
Print this
</p>

Cheers,

Evan @ digicool