[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - adding.py:1.1.2.4 configure.zcml:1.1.2.2
Jim Fulton
jim@zope.com
Tue, 24 Dec 2002 07:51:49 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv1158/src/zope/app/browser/container
Modified Files:
Tag: NameGeddon-branch
adding.py configure.zcml
Log Message:
Searched for and changed over 1200 references to Zope.something.
Most of these were either comments, doc strings, or permission ids.
Many were imports or ids in zcml. (much zcml fixup is still needed.
=== Zope3/src/zope/app/browser/container/adding.py 1.1.2.3 => 1.1.2.4 ===
--- Zope3/src/zope/app/browser/container/adding.py:1.1.2.3 Tue Dec 24 02:07:23 2002
+++ Zope3/src/zope/app/browser/container/adding.py Tue Dec 24 07:50:48 2002
@@ -40,33 +40,19 @@
# IAdding.py
def add(self, content):
- 'See Zope.App.OFS.Container.IAdding.IAdding'
container = getAdapter(self.context, IZopeContainer)
name = container.setObject(self.contentName, content)
return container[name]
- # See Zope.App.OFS.Container.Views.Browser.IAdding.IAdding
contentName = None # usually set by Adding traverser
def nextURL(self):
- 'See Zope.App.OFS.Container.IAdding.IAdding'
return (str(getView(self.context, "absolute_url", self.request))
+ '/@@contents.html')
- ######################################
- # from: Zope.ComponentArchitecture.IPresentation.IPresentation
-
- # See Zope.ComponentArchitecture.IPresentation.IPresentation
request = None # set in BrowserView.__init__
- ######################################
- # from: Zope.ComponentArchitecture.IContextDependent.IContextDependent
-
- # See Zope.ComponentArchitecture.IContextDependent.IContextDependent
context = None # set in BrowserView.__init__
-
- ######################################
- # from: Zope.Publisher.IPublishTraverse.IPublishTraverse
def publishTraverse(self, request, name):
if '=' in name:
=== Zope3/src/zope/app/browser/container/configure.zcml 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/browser/container/configure.zcml:1.1.2.1 Mon Dec 23 14:31:02 2002
+++ Zope3/src/zope/app/browser/container/configure.zcml Tue Dec 24 07:50:48 2002
@@ -5,7 +5,7 @@
<browser:view
for="zope.app.interfaces.container.IReadContainer"
- permission="Zope.ManageContent"
+ permission="zope.ManageContent"
factory="zope.app.browser.container.find.Find">
<browser:page name="find.html" attribute="index" />