[Zope3-checkins] SVN: Zope3/trunk/ Add ZCML support for conditional directives using the zcml:condition

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Jan 7 12:46:26 EST 2005


On Friday 07 January 2005 11:43, Fred L. Drake, Jr. wrote:
> Log message for revision 28766:
>   Add ZCML support for conditional directives using the zcml:condition
>   attribute.  The value of the attribute is a TALES expression; if the
>   expression is true, the element the attribute is attached to will be
>   used, otherwise the element and its descendents will be ignored.

I was waiting for the day when this would happen. Doesn't this violate the 
pricniple that we don't want to evolve ZCML to a language? The reason we 
chose ZCML over Python was that we did not want all the powerful features of 
a true programming language.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-Checkins mailing list