[Zope3-checkins] CVS: Zope3/src/zope/app/browser/content - configure.zcml:1.25
Stephan Richter
srichter@cosmos.phy.tufts.edu
Sun, 8 Jun 2003 12:40:17 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/content
In directory cvs.zope.org:/tmp/cvs-serv32472/src/zope/app/browser/content
Modified Files:
configure.zcml
Log Message:
Cleaned up a couple of things about container versus folder:
1. Copy, Cut and Paste support is defined in zope.app.container, so
IContainer should be able to execute these actions, not only Folder.
2. Show Copy, Cut and Paste button even though there is no content.
3. Remove IFolder specific tests and ZCML declarations.
Wow, I should have found this bug a long time ago, when I was working on
Zwiki, but I cheated back then by using Folder as base class...writing
documentation really helps to track these type of problems down.
XXX: The content and browser/content directives look very aged and could be
redone much better now.
=== Zope3/src/zope/app/browser/content/configure.zcml 1.24 => 1.25 ===
--- Zope3/src/zope/app/browser/content/configure.zcml:1.24 Thu Jun 5 17:05:49 2003
+++ Zope3/src/zope/app/browser/content/configure.zcml Sun Jun 8 12:39:45 2003
@@ -265,22 +265,6 @@
<browser:pages
for="zope.app.interfaces.content.folder.IFolder"
- permission="zope.ManageContent"
- class="zope.app.browser.container.contents.Contents"
- >
-
- <browser:page name="contents.html" attribute="contents" />
- <browser:page name="removeObjects.html" attribute="removeObjects" />
- <browser:page name="cutObjects.html" attribute="cutObjects" />
- <browser:page name="copyObjects.html" attribute="copyObjects" />
- <browser:page name="pasteObjects.html" attribute="pasteObjects" />
- <browser:page name="renameObjects.html" attribute="renameObjects" />
- <browser:page name="rename.html" attribute="rename" />
-
- </browser:pages>
-
- <browser:pages
- for="zope.app.interfaces.content.folder.IFolder"
permission="zope.View"
class="zope.app.browser.container.contents.Contents">