[Checkins] SVN: zc.catalog/trunk/src/zc/catalog/configure.zcml Don't try to include browser configuration if zope.app.form is not installed.
Dan Korostelev
nadako at gmail.com
Fri Feb 27 09:43:26 EST 2009
Log message for revision 97354:
Don't try to include browser configuration if zope.app.form is not installed.
Changed:
U zc.catalog/trunk/src/zc/catalog/configure.zcml
-=-
Modified: zc.catalog/trunk/src/zc/catalog/configure.zcml
===================================================================
--- zc.catalog/trunk/src/zc/catalog/configure.zcml 2009-02-27 14:39:54 UTC (rev 97353)
+++ zc.catalog/trunk/src/zc/catalog/configure.zcml 2009-02-27 14:43:26 UTC (rev 97354)
@@ -1,6 +1,7 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
+ xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="zope"
>
@@ -68,6 +69,9 @@
/>
</class>
- <include package=".browser" />
+ <include
+ zcml:condition="installed zope.app.form"
+ package=".browser"
+ />
</configure>
More information about the Checkins
mailing list