[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - adding.py:1.33

Mohan Chandra mchandra at zeomega.com
Tue Dec 16 10:42:29 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv31106/src/zope/app/browser/container

Modified Files:
	adding.py 
Log Message:
Included self.contentName in adding.py
Included addform and addMenuItem directives to browser/content/configure.zcml
Provided a customized add view for SQLScript
Defined a new slot extra_buttons in add.pt
Changed view/renderAddButton to context/renderAddButton





=== Zope3/src/zope/app/browser/container/adding.py 1.32 => 1.33 ===
--- Zope3/src/zope/app/browser/container/adding.py:1.32	Tue Dec 16 09:53:47 2003
+++ Zope3/src/zope/app/browser/container/adding.py	Tue Dec 16 10:41:59 2003
@@ -66,7 +66,7 @@
             chooser.checkName(name, container)
 
         container[name] = content
-
+        self.contentName = name #Set  the added object Name
         return container[name]
 
     contentName = None # usually set by Adding traverser




More information about the Zope3-Checkins mailing list