In article <[EMAIL PROTECTED]> you write:
> Guido van Rossum wrote:
> > 
> > IMO TALES should solve this for itself by introducing an if/then/else
> > expression form rather than depending on Python.  If you can have a
> > "not:.." expression, surely you can have an "if:..:then:..:else:.."
> > expression.
> 
> I think not: is dubious and I'd find if-then-else way over the lines...

What?!! not: is very useful. How do you write alternatives without it?

<tal:if condition="foo"> .... </tal:if>
<tal:if condition="not:foo"> .... </tal:if>

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:[EMAIL PROTECTED]

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to