[Zope3-checkins] CVS: Zope3/src/zope/app/browser/exception -
configure.zcml:1.9 form.py:1.3
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat Mar 13 16:37:50 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/exception
In directory cvs.zope.org:/tmp/cvs-serv6132/src/zope/app/browser/exception
Modified Files:
configure.zcml form.py
Log Message:
Moved form interfaces to zope.app.form.interfaces.
=== Zope3/src/zope/app/browser/exception/configure.zcml 1.8 => 1.9 ===
--- Zope3/src/zope/app/browser/exception/configure.zcml:1.8 Wed Dec 10 09:01:15 2003
+++ Zope3/src/zope/app/browser/exception/configure.zcml Sat Mar 13 16:37:19 2004
@@ -26,7 +26,7 @@
/>
<page
- for="zope.app.interfaces.form.IWidgetInputError"
+ for="zope.app.form.interfaces.IWidgetInputError"
name="snippet"
permission="zope.Public"
class=".form.WidgetInputErrorView"
=== Zope3/src/zope/app/browser/exception/form.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/exception/form.py:1.2 Fri Aug 15 20:42:45 2003
+++ Zope3/src/zope/app/browser/exception/form.py Sat Mar 13 16:37:19 2004
@@ -16,7 +16,7 @@
$Id$
"""
-from zope.app.interfaces.form import IWidgetInputError
+from zope.app.form.interfaces import IWidgetInputError
from cgi import escape
class WidgetInputErrorView:
@@ -30,7 +30,7 @@
def snippet(self):
"""Convert a widget input error to an html snippet
- >>> from zope.app.interfaces.form import WidgetInputError
+ >>> from zope.app.form.interfaces import WidgetInputError
>>> err = WidgetInputError("foo", "Foo", ["Foo input < 1"])
>>> view = WidgetInputErrorView(err, None)
>>> view.snippet()
More information about the Zope3-Checkins
mailing list