[Zope3-checkins] CVS: Zope3/src/zope/app/browser/content - configure.zcml:1.1.2.5
Jim Fulton
jim@zope.com
Wed, 25 Dec 2002 08:27:52 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/content
In directory cvs.zope.org:/tmp/cvs-serv9989/src/zope/app/browser/content
Modified Files:
Tag: NameGeddon-branch
configure.zcml
Log Message:
Gor zope running again!
I haven't tested everything.
(Yes, we need functional tests. Maybe this week).
Good enough to merge into trunk.
=== Zope3/src/zope/app/browser/content/configure.zcml 1.1.2.4 => 1.1.2.5 === (585/685 lines abridged)
--- Zope3/src/zope/app/browser/content/configure.zcml:1.1.2.4 Tue Dec 24 11:25:58 2002
+++ Zope3/src/zope/app/browser/content/configure.zcml Wed Dec 25 08:27:21 2002
@@ -2,331 +2,393 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:form="http://namespaces.zope.org/form"
- package="zope.app.content"
>
<!-- File View Directives -->
-<browser:defaultView for="zope.app.interfaces.content.file.IFile" name="show.html" />
-
-<browser:view
- for="zope.app.interfaces.content.file.IFile"
- permission="zope.View"
- factory="zope.app.browser.content.file.FileView">
- <browser:page name="show.html" attribute="show" />
-
-</browser:view>
-
-<form:edit
- schema = "zope.app.interfaces.content.file.IFile"
- name = "edit.html"
- label = "Change a file"
- permission = "zope.ManageContent"
- />
-
-<form:edit
- schema = "zope.app.interfaces.content.file.IFile"
- name = "upload.html"
- label = "Upload a file"
- permission = "zope.ManageContent"
- class = ".Views.Browser.FileUpload."
- />
-
-<!-- I18n File View Directives -->
-
-<browser:view
- name="view"
- for="zope.app.interfaces.content.18nfile.II18nFile"
- permission="zope.View"
- factory="zope.app.browser.content.i18n.I18nFileView" />
-
-<browser:view
- for="zope.app.interfaces.content.18nfile.II18nFile"
- permission="zope.View"
- factory="zope.app.browser.content.i18n.I18nFileEdit">
-
- <browser:page name="editForm.html" template="Views/Browser/i18n_edit.pt" />
[-=- -=- -=- 585 lines omitted -=- -=- -=-]
-
-<browser:icon name="zmi_icon" for="zope.app.content.dtmlpage.IDTMLPage" file="dtml.gif" />
-
-<browser:menuItem menu="add_content"
- for="zope.app.interfaces.container.IAdding"
- title="DTML Page" action="DTMLPage"
- description="An object for dynamic content based on Document Templates." />
+ <browser:view
+ permission="zope.View"
+ for="zope.app.content.dtmlpage.IDTMLPage"
+ factory="zope.app.browser.content.dtmlpageeval.DTMLPageEval"
+ >
+
+ <browser:page name="index.html" attribute="index" />
+
+ </browser:view>
+
+
+ <form:edit
+ schema = "zope.app.content.dtmlpage.IDTMLPage"
+ name = "edit.html"
+ label = "Edit a DTML page"
+ permission = "zope.ManageContent"
+ />
+
+ <browser:menuItems
+ menu="zmi_views"
+ for="zope.app.content.dtmlpage.IDTMLPage"
+ >
+ <browser:menuItem title="Edit" action="edit.html"/>
+ <browser:menuItem title="View" action="."/>
+ <browser:menuItem title="Role Permissions"
+ action="AllRolePermissions.html"
+ />
+ </browser:menuItems>
+
+ <browser:icon
+ name="zmi_icon"
+ for="zope.app.content.dtmlpage.IDTMLPage"
+ file="dtml.gif"
+ />
+
+ <browser:menuItem
+ menu="add_content"
+ for="zope.app.interfaces.container.IAdding"
+ title="DTML Page" action="DTMLPage"
+ description="An object for dynamic content based on Document Templates."
+ />
</zopeConfigure>