[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - service_index.pt:1.1.2.1 service_manager.gif:1.1.2.1 configure.zcml:1.16.2.1 pageconfigsummary.pt:1.2.4.1
Sidnei da Silva
sidnei@x3ng.com.br
Tue, 11 Feb 2003 09:42:08 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv18615/src/zope/app/browser/services
Modified Files:
Tag: paris-copypasterename-branch
configure.zcml pageconfigsummary.pt
Added Files:
Tag: paris-copypasterename-branch
service_index.pt service_manager.gif
Log Message:
Updating from HEAD to make sure everything still works before merging
=== Added File Zope3/src/zope/app/browser/services/service_index.pt ===
<html metal:use-macro="views/standard_macros/page">
<body>
<div metal:fill-slot="body">
<a href="Packages">Packages</a>
</div>
</body>
</html>
=== Added File Zope3/src/zope/app/browser/services/service_manager.gif ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/services/configure.zcml 1.16 => 1.16.2.1 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.16 Mon Feb 3 12:29:06 2003
+++ Zope3/src/zope/app/browser/services/configure.zcml Tue Feb 11 09:41:06 2003
@@ -395,6 +395,9 @@
<!-- View pages -->
+<browser:defaultView
+ for="zope.app.interfaces.services.interfaces.IPageConfiguration"
+ name="edit.html" />
<browser:editform
schema="zope.app.interfaces.services.interfaces.IPageConfiguration"
@@ -409,16 +412,16 @@
name="ItemEdit"
label="Page"
permission="zope.ManageServices"
- fields="forInterface viewName class_ layer permission
+ fields="forInterface viewName class_ layer permission
title status"
/>
<browser:page
- for = "zope.app.interfaces.services.interfaces.IPageConfiguration"
- name = "ConfigurationSummary"
- template = "pageconfigsummary.pt"
- permission="zope.ManageServices"
- />
+ for="zope.app.interfaces.services.interfaces.IPageConfiguration"
+ name="ConfigurationSummary"
+ template="pageconfigsummary.pt"
+ permission="zope.ManageServices"
+ />
<browser:addform
schema = "zope.app.interfaces.services.interfaces.IPageConfiguration"
@@ -426,8 +429,8 @@
content_factory = ".view.PageConfiguration"
keyword_arguments = "forInterface class_ viewName permission"
set_before_add = "template layer"
- label = "Configure a view page"
- permission="zope.ManageServices"
+ label = "Configure a view page"
+ permission="zope.ManageServices"
fields="forInterface viewName
template class_ layer permission title status description"
/>
@@ -441,16 +444,16 @@
<!-- ZPT Templates -->
-<browser:page
+<browser:view
for="zope.app.interfaces.services.interfaces.IZPTTemplate"
name="index.html"
- class="zope.app.browser.services.zpt.Source"
+ class=".zpt.Source"
permission="zope.ManageServices"
/>
<browser:editform
schema="zope.app.interfaces.services.interfaces.IZPTTemplate"
- name="index.html"
+ name="edit.html"
menu="zmi_views"
label="ZPT Template"
permission="zope.ManageServices"
@@ -478,7 +481,7 @@
>
<browser:menuItem title="Manage Local Services"
- action="++etc++Services/index.html"
+ action="++etc++Services/@@services.html"
filter="context/hasServiceManager"
/>
@@ -489,15 +492,6 @@
</browser:menuItems>
-<browser:page
- name="index.html"
- menu="zmi_views" title="Control"
- permission="zope.ManageServices"
- for="zope.app.interfaces.services.hub.IObjectHub"
- class="zope.app.browser.services.hub.Control"
- attribute="index"
- />
-
<!-- ConnectionService -->
<browser:menuItems
@@ -547,17 +541,24 @@
<browser:page
for="zope.app.interfaces.services.service.IServiceManager"
- name="index.html"
+ name="services.html"
menu="zmi_views" title="Services"
template="services.pt"
class=".namecomponentconfigurableview.NameComponentConfigurableView"
permission="zope.ManageServices"
/>
+ <browser:page
+ for="zope.app.interfaces.services.service.IServiceManager"
+ name="index.html"
+ template="service_index.pt"
+ permission="zope.ManageServices"
+ />
+
<browser:icon
name="zmi_icon"
for="zope.app.interfaces.services.service.IServiceManager"
- file="service_manager.png" />
+ file="service_manager.gif" />
<browser:menuItems
@@ -578,11 +579,6 @@
<!-- Packages -->
- <browser:defaultView
- for="zope.app.interfaces.services.package.IPackages"
- name="contents.html"
- />
-
<browser:pages
for="zope.app.interfaces.services.package.IPackages"
permission="zope.ManageServices"
@@ -602,7 +598,7 @@
<browser:menuItem
menu="zmi_views"
for="zope.app.interfaces.services.package.IPackages"
- title="Services"
+ title="Packages"
action="@@contents.html"
/>
@@ -614,13 +610,26 @@
filter="nothing"
/>
+ <browser:pages
+ for="zope.app.interfaces.services.package.IPackages"
+ permission="zope.ManageServices"
+ class="zope.app.browser.container.contents.JustContents">
+
+ <browser:page name="index.html" attribute="index" />
+
+ </browser:pages>
+
<!-- Package -->
- <browser:defaultView
- for="zope.app.interfaces.services.package.IPackage"
- name="contents.html"
- />
+ <browser:pages
+ for="zope.app.interfaces.services.package.IPackage"
+ permission="zope.ManageServices"
+ class="zope.app.browser.container.contents.JustContents">
+
+ <browser:page name="index.html" attribute="index" />
+
+ </browser:pages>
<browser:pages
for="zope.app.interfaces.services.package.IPackage"
@@ -734,9 +743,14 @@
<!-- View Package -->
- <browser:defaultView
- for="zope.app.interfaces.services.service.IViewPackage"
- name="contents.html" />
+ <browser:pages
+ for="zope.app.interfaces.services.service.IViewPackage"
+ permission="zope.ManageServices"
+ class="zope.app.browser.container.contents.JustContents">
+
+ <browser:page name="index.html" attribute="index" />
+
+ </browser:pages>
<browser:pages
for="zope.app.interfaces.services.service.IViewPackage"
@@ -802,6 +816,15 @@
<!-- Object Hub -->
+
+<browser:page
+ name="index.html"
+ menu="zmi_views" title="Control"
+ permission="zope.ManageServices"
+ for="zope.app.interfaces.services.hub.IObjectHub"
+ class="zope.app.browser.services.hub.Control"
+ attribute="index"
+ />
<browser:menuItem
menu="add_component"
=== Zope3/src/zope/app/browser/services/pageconfigsummary.pt 1.2 => 1.2.4.1 ===
--- Zope3/src/zope/app/browser/services/pageconfigsummary.pt:1.2 Wed Dec 25 09:12:36 2002
+++ Zope3/src/zope/app/browser/services/pageconfigsummary.pt Tue Feb 11 09:41:06 2003
@@ -1,2 +1,2 @@
-<span tal:replace="context/factoryName" />
+<span tal:replace="context/class_" />
<span tal:replace="context/template" />