[Zope3-checkins]
SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/interfaces.py
Merged from trunk 25415:
Jim Fulton
jim at zope.com
Fri Jul 2 15:09:25 EDT 2004
Log message for revision 26051:
Merged from trunk 25415:
Removed some incorrect references to wrapping objects. This is no
longer relevent since parentgeddon.
-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/interfaces.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/interfaces.py 2004-07-02 19:07:54 UTC (rev 26050)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/interfaces.py 2004-07-02 19:09:25 UTC (rev 26051)
@@ -114,7 +114,7 @@
def createAndAdd(self, data):
content = <create the content from the data>
- content = self.add(content) # content wrapped in some context
+ content = self.add(content)
<set after-add attributes on content>
"""
@@ -136,9 +136,6 @@
not an IAdding. In this case, the class that customizes the
form must take over adding the object.
- The content should be returned wrapped in the context of the
- object that it was added to.
-
The default implementation returns self.context.add(content),
i.e. it delegates to the IAdding view.
"""
More information about the Zope3-Checkins
mailing list