[Zope3-checkins] CVS: Zope3/src/zope/app/browser/index/text -
configure.zcml:1.10
Anthony Baxter
anthony at interlink.com.au
Tue Aug 5 08:35:18 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/index/text
In directory cvs.zope.org:/tmp/cvs-serv20088/app/browser/index/text
Modified Files:
configure.zcml
Log Message:
Provide basic TTW editing of (Keyword,Field,Text)Catalog indexes, allowing
you to change the interface and field names.
=== Zope3/src/zope/app/browser/index/text/configure.zcml 1.9 => 1.10 ===
--- Zope3/src/zope/app/browser/index/text/configure.zcml:1.9 Tue Aug 5 04:33:14 2003
+++ Zope3/src/zope/app/browser/index/text/configure.zcml Tue Aug 5 07:34:44 2003
@@ -4,15 +4,6 @@
i18n_domain='zope'
>
-<!--
- <browser:menuItem
- menu="add_component"
- for="zope.app.interfaces.container.IAdding"
- action="zope.app.index.text.TextIndex"
- title="Text Index"
- description="An index to support full-text search"
- />
--->
<browser:addform
name="AddTextIndex"
menu="add_component" title="Text Index"
@@ -23,7 +14,6 @@
keyword_arguments="interface"
/>
-
<browser:page
for="zope.app.interfaces.index.text.IUITextIndex"
name="index.html"
@@ -32,5 +22,18 @@
permission="zope.ManageServices"
class=".control.ControlView"
template="control.pt" />
+
+ <browser:editform
+ name="edit.html"
+ schema="zope.app.interfaces.index.text.IUITextCatalogIndex"
+ label="Edit Text Index"
+ permission="zope.ManageContent"
+ />
+
+ <browser:menuItems menu="zmi_views"
+ for="zope.app.interfaces.index.text.IUITextCatalogIndex">
+ <menuItem title="Edit" action="edit.html"/>
+ </browser:menuItems>
+
</configure>
More information about the Zope3-Checkins
mailing list