[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - error.gif:1.1.2.1 error_service.gif:1.1.2.1 event_service.gif:1.1.2.1 hub.gif:1.1.2.1 role.gif:1.1.2.1 role_service.gif:1.1.2.1 service.gif:1.1.2.1 configure.zcml:1.1.2.4
Jim Fulton
jim@zope.com
Tue, 24 Dec 2002 18:20:55 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv29250/src/zope/app/browser/services
Modified Files:
Tag: NameGeddon-branch
configure.zcml
Added Files:
Tag: NameGeddon-branch
error.gif error_service.gif event_service.gif hub.gif role.gif
role_service.gif service.gif
Log Message:
moved icon image files to the view hoerarchy and fixed up some zcml
=== Added File Zope3/src/zope/app/browser/services/error.gif ===
<Binary-ish file>
=== Added File Zope3/src/zope/app/browser/services/error_service.gif ===
<Binary-ish file>
=== Added File Zope3/src/zope/app/browser/services/event_service.gif ===
<Binary-ish file>
=== Added File Zope3/src/zope/app/browser/services/hub.gif ===
<Binary-ish file>
=== Added File Zope3/src/zope/app/browser/services/role.gif ===
<Binary-ish file>
=== Added File Zope3/src/zope/app/browser/services/role_service.gif ===
<Binary-ish file>
=== Added File Zope3/src/zope/app/browser/services/service.gif ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/services/configure.zcml 1.1.2.3 => 1.1.2.4 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.1.2.3 Tue Dec 24 10:07:53 2002
+++ Zope3/src/zope/app/browser/services/configure.zcml Tue Dec 24 18:20:24 2002
@@ -4,39 +4,47 @@
package="zope.app.services"
>
-<browser:defaultView
- name="main.html"
- for="zope.app.interfaces.services.error.IErrorReportingService" />
-
-<browser:view
- for="zope.app.interfaces.services.error.IErrorReportingService"
- permission="zope.Public"
- factory="zope.app.browser.services.error.EditErrorLog">
-
- <browser:page name="main.html" template="Views/Browser/main.pt" />
- <browser:page name="edit.html" attribute="updateProperties" />
- <browser:page name="showEntry.html" template="Views/Browser/showEntry.pt"/>
- <browser:page name="showTextTBEntry.html" template="Views/Browser/showTextTBEntry.pt"/>
-</browser:view>
+<!--Error Reporting Service -->
-<!-- CachingService -->
+ <browser:defaultView
+ name="main.html"
+ for="zope.app.interfaces.services.error.IErrorReportingService" />
- <browser:defaultView
- for="zope.app.services.cache.ILocalCachingService"
- name="index.html" />
+ <browser:view
+ for="zope.app.interfaces.services.error.IErrorReportingService"
+ permission="zope.Public"
+ factory="zope.app.browser.services.error.EditErrorLog">
+
+ <browser:page name="main.html" template="Views/Browser/main.pt" />
+ <browser:page name="edit.html" attribute="updateProperties" />
+ <browser:page name="showEntry.html" template="Views/Browser/showEntry.pt"/>
+ <browser:page name="showTextTBEntry.html"
+ template="Views/Browser/showTextTBEntry.pt"/>
+ </browser:view>
+
+ <browser:menuItem menu="add_component"
+ for="zope.app.interfaces.container.IAdding"
+ action="ErrorReportingService" title='Error Reporting Service'
+ description='Error Reporting Service for Logging Errors'
+ />
+
+ <browser:icon name="zmi_icon"
+ for="zope.app.interfaces.services.error.IErrorReportingService"
+ file="error_service.gif" />
+
+<!-- CachingService -->
<browser:menuItems
menu="zmi_views"
for="zope.app.services.cache.ILocalCachingService">
<browser:menuItem title="Caches" action="index.html"/>
- </browser:menuItems>
+ </browser:menuItems>
<browser:view
for="zope.app.services.cache.ILocalCachingService"
name="index.html"
template="Views/Browser/Caches.pt"
- class="
-zope.app.browser.services.namecomponentconfigurableview.NameComponentConfigurableView"
+ class="zope.app.browser.services.namecomponentconfigurableview.NameComponentConfigurableView"
permission="zope.ManageServices" />
<browser:menuItem
@@ -47,7 +55,7 @@
description="A Persistent Caching Service for TTW development"
/>
-<!-- CacheConfiguration -->
+ <!-- CacheConfiguration -->
<browser:view
for="zope.app.interfaces.container.IAdding"
@@ -68,33 +76,37 @@
description="Named Cache"
/>
-<browser:defaultView
- name="index.html"
- for="zope.event.IEventService+" />
+<!-- Event Service -->
-<browser:view
- permission="zope.ManageServices"
- for="zope.event.IEventService+"
- factory="zope.app.browser.services.event.Control">
+ <browser:defaultView
+ name="index.html"
+ for="zope.event.IEventService+" />
- <browser:page name="index.html" attribute="index" />
+ <browser:view
+ permission="zope.ManageServices"
+ for="zope.event.IEventService+"
+ factory="zope.app.browser.services.event.Control">
-</browser:view>
+ <browser:page name="index.html" attribute="index" />
-<browser:menuItems menu="zmi_views" for="zope.event.IEventService+">
- <browser:menuItem title="Control" action="@@index.html" />
-</browser:menuItems>
+ </browser:view>
-<browser:menuItem menu="add_component"
- for="zope.app.interfaces.container.IAdding"
- action="Events" title="Event Service"
- description="An event service: use sparingly" />
-
-<browser:icon name="zmi_icon" for="zope.event.IEventService+"
- file="event_service.gif" />
+ <browser:menuItems menu="zmi_views" for="zope.event.IEventService+">
+ <browser:menuItem title="Control" action="@@index.html" />
+ </browser:menuItems>
+
+ <browser:menuItem menu="add_component"
+ for="zope.app.interfaces.container.IAdding"
+ action="Events" title="Event Service"
+ description="An event service: use sparingly" />
+ <browser:icon name="zmi_icon" for="zope.event.IEventService+"
+ file="event_service.gif" />
- <browser:menuItem menu="add_component" for="zope.app.interfaces.container.IAdding"
+<!-- Role Service -->
+
+ <browser:menuItem menu="add_component"
+ for="zope.app.interfaces.container.IAdding"
action="RoleService" title="Role Service" />
<browser:icon
@@ -134,7 +146,7 @@
<browser:menuItem title="Contents" action="@@index.html"/>
</browser:menuItems>
-<!-- Handle all Authentication Service configuration -->
+<!-- Authentication Service -->
<browser:menu id="add_user"
title="Menu for adding new User." />
@@ -150,7 +162,7 @@
<browser:page name="contents.html" attribute="contents" />
- </browser:view>
+ </browser:view>
<browser:view
name="+"
@@ -161,16 +173,15 @@
<browser:page name="index.html" template="Views/Browser/addUser.pt" />
<browser:page name="action.html" attribute="action" />
- </browser:view>
+ </browser:view>
- <browser:menuItem menu="add_component" for="zope.app.interfaces.container.IAdding"
+ <browser:menuItem menu="add_component"
+ for="zope.app.interfaces.container.IAdding"
action="AuthenticationService" title="Simple Authentication Service"
description="A Persistent Authentication Service"
/>
- <!-- Handle User configuration -->
-
<browser:defaultView for="zope.app.interfaces.security.IPrincipal"
name="editForm.html" />
@@ -185,9 +196,10 @@
</browser:view>
- <browser:menuItems menu="zmi_views" for="zope.app.interfaces.security.IPrincipal">
+ <browser:menuItems menu="zmi_views"
+ for="zope.app.interfaces.security.IPrincipal">
<browser:menuItem title="Edit" action="editForm.html"/>
- </browser:menuItems>
+ </browser:menuItems>
<!-- IConfigurationStatus -->
@@ -744,10 +756,12 @@
<!-- View Package -->
- <defaultView for="zope.app.interfaces.services.servicemanager.interfaces.IViewPackage" name="contents.html" />
+ <defaultView
+ for="zope.app.interfaces.services.service.IViewPackage"
+ name="contents.html" />
<view
- for="zope.app.interfaces.services.servicemanager.interfaces.IViewPackage"
+ for="zope.app.interfaces.services.service.IViewPackage"
permission="zope.ManageServices"
factory="zope.app.browser.services.package.ViewPackageContents">
@@ -769,7 +783,8 @@
label="Default configuration parameters"
/>
- <menuItems menu="zmi_views" for="zope.app.interfaces.services.servicemanager.interfaces.IViewPackage">
+ <menuItems menu="zmi_views"
+ for="zope.app.interfaces.services.service.IViewPackage">
<menuItem title="Contents"
action="@@contents.html"/>
<menuItem title="Default Configuration"
@@ -780,6 +795,37 @@
action="zope.app.services.viewpackage.ViewPackage"
title="View Sub-Package" />
+<!-- Session service -->
+ <browser:menuItem
+ menu="add_component"
+ for="zope.app.interfaces.container.IAdding"
+ action="ISessionService" title='Cookie Session Service'
+ description='Simplistic session support using cookies' />
+
+<!-- Principal annotations (user data) service -->
+
+ <browser:menuItem menu="add_component"
+ for="zope.app.interfaces.container.IAdding"
+ action="IPrincipalAnnotationService" title='Principal Annotation Service'
+ description='Stores Annotations for Principals'
+ />
+
+
+<!-- Object Hub -->
+
+ <browser:menuItem
+ menu="add_component"
+ for="zope.app.interfaces.container.IAdding"
+ action="ObjectHub"
+ title='ObjectHub'
+ description="An object hub, for cataloging, unique object ids, and
+ more: use sparingly"
+ />
+
+ <browser:icon
+ name="zmi_icon"
+ for="zope.app.interfaces.services.hub.IObjectHub"
+ file="./objecthub.gif" />
</zope:zopeConfigure>