[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - configure.zcml:1.18 pageconfigsummary.pt:1.3
Albertas Agejevas
alga@codeworks.lt
Thu, 6 Feb 2003 10:35:33 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv32407/src/zope/app/browser/services
Modified Files:
configure.zcml pageconfigsummary.pt
Log Message:
Added ant 'attribute' attribute to the PageConfiguration.
That is, now a persistent page configuration in a local view service can
either specify an attribute of a view to be called, or provide a persistent
page template.
The 'attribute' attribute is not yet in the add view though.
=== Zope3/src/zope/app/browser/services/configure.zcml 1.17 => 1.18 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.17 Wed Feb 5 12:29:50 2003
+++ Zope3/src/zope/app/browser/services/configure.zcml Thu Feb 6 10:35:02 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"
/>
=== Zope3/src/zope/app/browser/services/pageconfigsummary.pt 1.2 => 1.3 ===
--- 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 Thu Feb 6 10:35:02 2003
@@ -1,2 +1,2 @@
-<span tal:replace="context/factoryName" />
+<span tal:replace="context/class_" />
<span tal:replace="context/template" />