[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/RoleService/Views/Browser - configure.zcml:1.7
Stephan Richter
srichter@cbu.edu
Wed, 10 Jul 2002 23:51:34 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/RoleService/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv4873/lib/python/Zope/App/OFS/Services/RoleService/Views/Browser
Modified Files:
configure.zcml
Log Message:
- Added descriptions to last Services
- Removed old-style menu entries
- Started more aggressivly to convert ZCML to Steve's style suggestions
=== Zope3/lib/python/Zope/App/OFS/Services/RoleService/Views/Browser/configure.zcml 1.6 => 1.7 ===
xmlns:browser='http://namespaces.zope.org/browser'
>
- <browser:defaultView
- for="Zope.App.OFS.Services.RoleService.RoleService.IRoleService"
- name="index.html"
- />
-
- <browser:view
- permission="Zope.ManageServices"
- for="Zope.App.OFS.Services.RoleService.RoleService.IRoleService"
- factory="Zope.App.OFS.Services.RoleService.Views.Browser.Contents.">
-
- <browser:page name="index.html" attribute="index" />
-
- </browser:view>
-
- <browser:menuItem menu="add_content"
- for="Zope.App.OFS.Services.ServiceManager.IServiceAdding."
- title="Roles" action="RoleService"
- description="Add and manage roles specifically
- for this folder and all its contents"
- />
-
- <browser:view
- permission="Zope.ManageServices"
- for="Zope.App.OFS.Services.RoleService.RoleService.IRoleService"
- factory="Zope.App.OFS.Services.RoleService.Views.Browser.Add."
- >
-
- <browser:page name="+" template="add.pt" />
- <browser:page name="action.html" attribute="action" />
-
- </browser:view>
-
- <browser:menuItems
- menu="zmi_views"
- for="Zope.App.OFS.Services.RoleService.RoleService.IRoleService.">
- <browser:menuItem title="Contents" action="@@index.html"/>
- </browser:menuItems>
+<browser:defaultView
+ for="Zope.App.OFS.Services.RoleService.RoleService.IRoleService"
+ name="index.html" />
+
+<browser:view
+ permission="Zope.ManageServices"
+ for="Zope.App.OFS.Services.RoleService.RoleService.IRoleService"
+ factory="Zope.App.OFS.Services.RoleService.Views.Browser.Contents.">
+
+ <browser:page name="index.html" attribute="index" />
+
+</browser:view>
+
+<browser:menuItem menu="add_service"
+ for="Zope.App.OFS.Container.IAdding."
+ title="Role Service" action="RoleService"
+ description="Add and manage roles locally to this folder and its subtree."
+/>
+
+<browser:view
+ permission="Zope.ManageServices"
+ for="Zope.App.OFS.Services.RoleService.RoleService.IRoleService"
+ factory="Zope.App.OFS.Services.RoleService.Views.Browser.Add.">
+
+ <browser:page name="+" template="add.pt" />
+ <browser:page name="action.html" attribute="action" />
+
+</browser:view>
+
+<browser:menuItems menu="zmi_views"
+ for="Zope.App.OFS.Services.RoleService.RoleService.IRoleService.">
+ <browser:menuItem title="Contents" action="@@index.html"/>
+</browser:menuItems>
</zopeConfigure>