[ZPT] If/else?
Lalo Martins
lalo@hackandroll.org
Wed, 9 May 2001 21:58:16 -0300
On Wed, May 09, 2001 at 03:15:20PM -0400, Evan Simpson wrote:
>
> <div tal:replace="python:if(doChange(), ..., default)">
It's ugly, but, in the meanwhile, you can do
tal:replace="python:(doChange() and something) or default)">
(actually, that's probably how I'd implement the cond() stuff)
[]s,
|alo
+----
--
I say a prayer now our love's departed
That you'll come back to stay
Bring back the perfect day
http://www.laranja.org/ mailto:lalo@laranja.org
pgp key: http://www.laranja.org/pessoal/pgp
Brazil of Darkness (RPG) --- http://www.BroDar.org/