[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - editview.py:1.36

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Aug 18 15:50:49 EDT 2003


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

Modified Files:
	editview.py 
Log Message:
Fix a small error that prevented adapted objects to work with edit forms.


=== Zope3/src/zope/app/browser/form/editview.py 1.35 => 1.36 ===
--- Zope3/src/zope/app/browser/form/editview.py:1.35	Fri Aug 15 20:42:49 2003
+++ Zope3/src/zope/app/browser/form/editview.py	Mon Aug 18 14:50:44 2003
@@ -99,7 +99,7 @@
                 status = _("An error occured.")
             else:
                 setUpEditWidgets(self, self.schema, force=1,
-                                 names=self.fieldNames)
+                                 names=self.fieldNames, content=self.adapted)
                 if changed:
                     formatter = self.request.locale.getDateTimeFormatter(
                         'medium')




More information about the Zope3-Checkins mailing list