[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Forms/Views/Browser - FormView.py:1.12.2.2
Jim Fulton
jim@zope.com
Fri, 4 Oct 2002 13:30:37 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/Forms/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv10951/lib/python/Zope/App/Forms/Views/Browser
Modified Files:
Tag: ZopeDublinCore-branch
FormView.py
Log Message:
Commiting branch prior to merge
=== Zope3/lib/python/Zope/App/Forms/Views/Browser/FormView.py 1.12.2.1 => 1.12.2.2 ===
--- Zope3/lib/python/Zope/App/Forms/Views/Browser/FormView.py:1.12.2.1 Thu Oct 3 18:16:49 2002
+++ Zope3/lib/python/Zope/App/Forms/Views/Browser/FormView.py Fri Oct 4 13:30:06 2002
@@ -25,6 +25,7 @@
from Zope.Publisher.Browser.BrowserView import BrowserView
from Zope.Event.ObjectEvent import ObjectModifiedEvent
from Zope.Proxy.ContextWrapper import ContextWrapper
+from Zope.Event import publishEvent
from IForm import IForm
@@ -95,7 +96,7 @@
print e[0]
return self.form(self, errors=e)
else:
- publishEvent(ObjectModifiedEvent(self.context))
+ publishEvent(self.context, ObjectModifiedEvent(self.context))
# XXX This should do a redirect by looking up the object in
# the view registry