[Zope3-checkins] CVS: Zope3/src/zope/app/browser/catalog -
configure.zcml:1.5
Anthony Baxter
anthony at interlink.com.au
Sun Aug 3 02:41:36 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/catalog
In directory cvs.zope.org:/tmp/cvs-serv24358/src/zope/app/browser/catalog
Modified Files:
configure.zcml
Log Message:
hooking up keyword indexes to the catalog (even got tests!)
=== Zope3/src/zope/app/browser/catalog/configure.zcml 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/catalog/configure.zcml:1.4 Mon Jul 14 05:53:38 2003
+++ Zope3/src/zope/app/browser/catalog/configure.zcml Sun Aug 3 01:41:02 2003
@@ -73,6 +73,18 @@
description="An index of a specific field"
/>
+<!-- KeywordIndex -->
+<browser:addform
+ name="AddKeywordIndexToCatalog"
+ menu="catalog_index_menu" title="Keyword Index"
+ schema="zope.app.interfaces.index.keyword.IUIKeywordCatalogIndex"
+ permission="zope.ManageServices"
+ content_factory="zope.app.index.keyword.index.KeywordCatalogIndex"
+ arguments="field_name"
+ keyword_arguments="interface"
+ description="A keyword index of a specific field"
+/>
+
<!-- the Advanced tab of the Catalog -->
<browser:pages
for="zope.app.interfaces.catalog.catalog.ICatalog"
More information about the Zope3-Checkins
mailing list