[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - configure.zcml:1.46
Guido van Rossum
guido@python.org
Mon, 28 Apr 2003 16:18:56 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv20277
Modified Files:
configure.zcml
Log Message:
More consistent indentation.
=== Zope3/src/zope/app/browser/services/configure.zcml 1.45 => 1.46 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.45 Mon Apr 28 12:52:07 2003
+++ Zope3/src/zope/app/browser/services/configure.zcml Mon Apr 28 16:18:56 2003
@@ -171,13 +171,13 @@
<menuItems menu="zmi_views"
for="zope.app.interfaces.security.IPrincipal">
<menuItem title="Edit" action="editForm.html"/>
- </menuItems>
+ </menuItems>
<!-- Component Location widget -->
<!-- XXX we are phasing these widgets out -->
-<page
+ <page
for="zope.app.services.field.IComponentPath"
name="edit"
class="zope.app.browser.services.field.ComponentPathWidget"
@@ -185,7 +185,7 @@
permission="zope.ManageServices"
/>
-<page
+ <page
for="zope.app.services.field.IComponentPath"
name="display"
class="zope.app.browser.services.field.ComponentPathDisplayWidget"
@@ -195,7 +195,7 @@
<!-- Adapters -->
-<editform
+ <editform
schema="zope.app.interfaces.services.adapter.IAdapterConfiguration"
name="index.html"
menu="zmi_views"
@@ -203,7 +203,7 @@
permission="zope.ManageServices"
/>
-<page
+ <page
for = "zope.component.interfaces.IAdapterService."
name = "index.html"
template = "adapter_search.pt"
@@ -211,26 +211,26 @@
class="zope.app.browser.services.adapter.AdapterServiceView"
/>
-<view
+ <view
for = "zope.app.interfaces.container.IAdding"
name="AdapterConfiguration"
permission="zope.ManageServices"
class="zope.app.browser.services.adapter.AdapterConfigurationAdd"
>
- <page
+ <page
name="index.html"
template="add_adapter_config.pt"
/>
-</view>
+ </view>
-<menuItem
+ <menuItem
for="zope.app.interfaces.container.IAdding"
menu="add_configuration"
action="AdapterConfiguration"
title="Adapter"
/>
-<menuItem
+ <menuItem
for="zope.app.interfaces.container.IAdding"
menu="add_service"
action="zope.app.services.AdapterService"
@@ -239,11 +239,11 @@
<!-- Views -->
-<defaultView
+ <defaultView
for="zope.app.interfaces.services.view.IViewConfiguration"
name="edit.html" />
-<editform
+ <editform
schema="zope.app.interfaces.services.view.IViewConfiguration"
name="edit.html"
menu="zmi_views"
@@ -251,7 +251,7 @@
permission="zope.ManageServices"
/>
-<addform
+ <addform
schema = "zope.app.interfaces.services.view.IViewConfiguration"
name= "ViewConfiguration"
content_factory = ".view.ViewConfiguration"
@@ -264,14 +264,14 @@
class_ layer permission status"
/>
-<menuItem
+ <menuItem
for="zope.app.interfaces.container.IAdding"
menu="add_configuration"
action="ViewConfiguration"
title="View"
/>
-<page
+ <page
for = "zope.component.interfaces.IViewService"
name = "index.html"
template = "view_search.pt"
@@ -280,7 +280,7 @@
menu="zmi_views" title="Views"
/>
-<menuItem
+ <menuItem
for="zope.app.interfaces.container.IAdding"
menu="add_service"
action="zope.app.services.ViewService"
@@ -289,7 +289,7 @@
<!-- View pages -->
-<editform
+ <editform
schema="zope.app.interfaces.services.view.IPageConfiguration"
name="index.html"
class=".view.PageConfigurationView"
@@ -298,7 +298,7 @@
permission="zope.ManageServices"
/>
-<addform
+ <addform
schema = "zope.app.interfaces.services.view.IPageConfiguration"
name= "PageConfiguration"
content_factory = ".view.PageConfiguration"
@@ -310,7 +310,7 @@
template class_ layer permission status"
/>
-<menuItem
+ <menuItem
for="zope.app.interfaces.container.IAdding"
menu="add_configuration"
action="PageConfiguration"
@@ -319,14 +319,14 @@
<!-- ZPT Templates -->
-<view
+ <view
for="zope.app.interfaces.services.view.IZPTTemplate"
name="index.html"
class=".zpt.Source"
permission="zope.ManageServices"
/>
-<editform
+ <editform
schema="zope.app.interfaces.services.view.IZPTTemplate"
name="edit.html"
menu="zmi_views"
@@ -334,7 +334,7 @@
permission="zope.ManageServices"
/>
-<menuItem
+ <menuItem
for="zope.app.interfaces.container.IAdding"
menu="add_component"
action="zope.app.services.zpt.template"
@@ -343,7 +343,7 @@
<!-- Service Manager navigation action -->
-<page
+ <page
name="addServiceManager.html"
for="zope.app.interfaces.services.service.IServiceManagerContainer"
permission="zope.ManageServices"
@@ -351,21 +351,21 @@
attribute="addServiceManager"
/>
-<menuItems menu="zmi_actions"
+ <menuItems menu="zmi_actions"
for="zope.app.interfaces.services.service.IServiceManagerContainer"
>
- <menuItem title="Manage Local Services"
+ <menuItem title="Manage Local Services"
action="++etc++site/@@SelectedManagementView.html"
filter="context/hasServiceManager"
/>
- <menuItem title="Turn On Local Service Manager"
+ <menuItem title="Turn On Local Service Manager"
action="@@addServiceManager.html"
filter="not:context/hasServiceManager"
/>
-</menuItems>
+ </menuItems>
<!-- ConnectionService --> <include file="connection.zcml" />
@@ -447,39 +447,39 @@
<!-- SiteManagementFolder -->
-<pages
+ <pages
for="zope.app.interfaces.services.folder.ISiteManagementFolder"
permission="zope.ManageServices"
class="zope.app.browser.container.contents.JustContents">
- <page name="index.html" attribute="index" />
+ <page name="index.html" attribute="index" />
-</pages>
+ </pages>
-<pages
- for="zope.app.interfaces.services.folder.ISiteManagementFolder"
- permission="zope.ManageServices"
- class="zope.app.browser.container.contents.Contents"
- >
-
- <page name="contents.html"
- attribute="contents"
- menu="zmi_views" title="Contents"
- />
- <page name="removeObjects.html" attribute="removeObjects" />
- </pages>
+ <pages
+ for="zope.app.interfaces.services.folder.ISiteManagementFolder"
+ permission="zope.ManageServices"
+ class="zope.app.browser.container.contents.Contents"
+ >
-<view
- name="+"
- menu="zmi_actions" title="Add"
- for="zope.app.interfaces.services.folder.ISiteManagementFolder"
- permission="zope.ManageServices"
- class="zope.app.browser.services.service.ComponentAdding">
+ <page name="contents.html"
+ attribute="contents"
+ menu="zmi_views" title="Contents"
+ />
+ <page name="removeObjects.html" attribute="removeObjects" />
+ </pages>
+
+ <view
+ name="+"
+ menu="zmi_actions" title="Add"
+ for="zope.app.interfaces.services.folder.ISiteManagementFolder"
+ permission="zope.ManageServices"
+ class="zope.app.browser.services.service.ComponentAdding">
- <page name="index.html" attribute="index" />
- <page name="action.html" attribute="action" />
+ <page name="index.html" attribute="index" />
+ <page name="action.html" attribute="action" />
-</view>
+ </view>
<!-- Generic page for objects that keep track of their registrations -->
@@ -616,7 +616,7 @@
<!-- Object Hub -->
-<page
+ <page
name="index.html"
menu="zmi_views" title="Control"
permission="zope.ManageServices"
@@ -643,7 +643,7 @@
<!-- "Add Service" menu -->
-<menuItem
+ <menuItem
menu="add_component"
for="zope.app.interfaces.container.IAdding"
action="../AddService"