src/ztfy/utils/catalog/configure.zcml
branchZTK-1.1
changeset 250 16a535e0eb92
parent 228 87a929e63afe
equal deleted inserted replaced
249:650534afe60d 250:16a535e0eb92
     1 <configure
     1 <configure
     2 	xmlns="http://namespaces.zope.org/zope"
     2 	xmlns="http://namespaces.zope.org/zope"
       
     3 	xmlns:zcml="http://namespaces.zope.org/zcml"
     3 	i18n_domain="ztfy.utils">
     4 	i18n_domain="ztfy.utils">
     4 
     5 
     5 	<class class=".index.TextIndexNG">
     6 	<configure zcml:condition="installed zopyx.txng3.core">
     6 		<require
     7 		<class class=".index.TextIndexNG">
     7 			interface="zope.catalog.interfaces.IAttributeIndex
     8 			<require
     8 					   zope.index.interfaces.IStatistics"
     9 				interface="zope.catalog.interfaces.IAttributeIndex
     9 			set_schema="zope.catalog.interfaces.IAttributeIndex"
    10 						   zope.index.interfaces.IStatistics"
    10 			permission="zope.ManageServices" />
    11 				set_schema="zope.catalog.interfaces.IAttributeIndex"
    11 		<require
    12 				permission="zope.ManageServices" />
    12 			interface="zope.index.interfaces.IIndexSearch"
    13 			<require
    13 			permission="zope.View" />
    14 				interface="zope.index.interfaces.IIndexSearch"
    14 	</class>
    15 				permission="zope.View" />
       
    16 		</class>
       
    17 	</configure>
    15 
    18 
    16 </configure>
    19 </configure>