[ZPT] why is default false?

Florent Guillaume fg@nuxeo.com
Fri, 24 May 2002 14:10:16 +0000 (UTC)


Agreed, I too am for that change if it doesn't break anything.
And for exactly the reason you mention :-)

Florent

Fred L. Drake, Jr. <fdrake@acm.org> wrote:
> 
> Does anyone remember why default is a false value?  It should be
> possible to conditionally set an attribute using something like:
> 
> <td tal:repeat="ob python:mysequence">
>   <span class="something"
>         tal:attributes="class python: expr and default or nothing">
>     ...
>   </span>
> </td>
> 
> I'm sure there was a specific reason for it to be false, but I sure
> don't remember what, and can't find it in the old project Wiki.
> 
> 
>   -Fred
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com