[Zope3-checkins] CVS: Zope3/src/zope/app/form/browser - enumerated.py:1.2 vocabularywidget.py:1.2 widgets.txt:1.2

Philipp von Weitershausen philikon at philikon.de
Wed Mar 17 12:37:35 EST 2004


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

Modified Files:
	enumerated.py vocabularywidget.py widgets.txt 
Log Message:


Adjust widget imports to new locations


=== Zope3/src/zope/app/form/browser/enumerated.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/form/browser/enumerated.py:1.1	Sat Mar 13 20:11:34 2004
+++ Zope3/src/zope/app/form/browser/enumerated.py	Wed Mar 17 12:37:03 2004
@@ -16,8 +16,9 @@
 $Id$
 """
 
-from widget import TextWidget, IntWidget, FloatWidget, \
-     DatetimeWidget, DateWidget
+from zope.app.form.browser.textwidgets import TextWidget
+from zope.app.form.browser.textwidgets import IntWidget, FloatWidget
+from zope.app.form.browser.textwidgets import DatetimeWidget, DateWidget
 
 __metaclass__ = type
 


=== Zope3/src/zope/app/form/browser/vocabularywidget.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/form/browser/vocabularywidget.py:1.1	Sat Mar 13 20:11:34 2004
+++ Zope3/src/zope/app/form/browser/vocabularywidget.py	Wed Mar 17 12:37:03 2004
@@ -32,10 +32,10 @@
 from zope.app import zapi
 from zope.app.form.browser import widget
 from zope.app.i18n import ZopeMessageIDFactory as _
+from zope.app.form.browser.itemswidgets import SingleItemsWidget
 from zope.app.form.browser.interfaces import IVocabularyQueryView
 from zope.app.form.interfaces import WidgetInputError
 
-
 # These widget factories delegate to the vocabulary on the field.
 
 # Display
@@ -500,7 +500,7 @@
     This widget can be used when the number of selections is going
     to be small.
     """
-    implements(implementedBy(widget.SingleItemsWidget))
+    implements(implementedBy(SingleItemsWidget))
     firstItem = False
 
     _msg_no_value = _msg_missing_single_value_edit
@@ -571,7 +571,7 @@
     This widget can be used when the number of selections isn't going
     to be very large.
     """
-    implements(implementedBy(widget.SingleItemsWidget))
+    implements(implementedBy(SingleItemsWidget))
     firstItem = False
 
     _msg_no_value = _msg_missing_single_value_edit


=== Zope3/src/zope/app/form/browser/widgets.txt 1.1 => 1.2 ===
--- Zope3/src/zope/app/form/browser/widgets.txt:1.1	Sat Mar 13 20:11:34 2004
+++ Zope3/src/zope/app/form/browser/widgets.txt	Wed Mar 17 12:37:03 2004
@@ -2,7 +2,7 @@
 ============================================================
 
 The following implements a Poll product (add it as
-zope/products/demo/poll) which has poll options defined as:
+zope/app/demo/poll) which has poll options defined as:
 
 label
   A TextLine holding the label of the option
@@ -82,7 +82,7 @@
     from zope.app.form.browser.editview import EditView
     from zope.app.form.browser.add import AddView
     from zope.app.form.widget import CustomWidgetFactory
-    from zope.app.form.browser.widget import SequenceWidget, ObjectWidget
+    from zope.app.form.browser import SequenceWidget, ObjectWidget
 
     from interfaces import IPoll
     from poll import Poll, PollOption




More information about the Zope3-Checkins mailing list