[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - configure.zcml:1.49
Guido van Rossum
guido@python.org
Wed, 30 Apr 2003 12:55:16 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv1491
Modified Files:
configure.zcml
Log Message:
Comment out Views; Jim says they don't work etc.
Fix a bug in the initialization of Viewpages; layer is a required
argument to the factory.
=== Zope3/src/zope/app/browser/services/configure.zcml 1.48 => 1.49 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.48 Mon Apr 28 17:35:29 2003
+++ Zope3/src/zope/app/browser/services/configure.zcml Wed Apr 30 12:55:15 2003
@@ -239,6 +239,9 @@
<!-- Views -->
+<!-- XXX Jim says this doesn't work and isn't well thought out.
+ So commenting this out for now.
+
<defaultView
for="zope.app.interfaces.services.view.IViewConfiguration"
name="edit.html" />
@@ -287,6 +290,8 @@
title="View Service"
/>
+-->
+
<!-- View pages -->
<editform
@@ -302,8 +307,9 @@
schema = "zope.app.interfaces.services.view.IPageConfiguration"
name= "PageConfiguration"
content_factory = ".view.PageConfiguration"
- keyword_arguments = "forInterface class_ viewName permission"
- set_before_add = "template layer"
+ keyword_arguments =
+ "forInterface class_ viewName permission layer"
+ set_before_add = "template"
label = "Register a view page"
permission="zope.ManageServices"
fields="forInterface viewName