14 Jun
2002
14 Jun
'02
7:06 p.m.
Roger Erens writes:
When you want:
if cond then XXXX else YYYY
you can use in ZPT:
<tal:div tal:condition="cond">XXXX</tal:div> <tal:div tal:condition="not:cond">YYYY</tal:div>
To check for existence, you can use "exists: path".
Dieter
Could someone expand on *why* the if/then/else construct is not literally possible in ZPT?
Search the ZPT mailing list archive. It was explained there in length... Dieter