[Checkins] SVN: zope.html/trunk/s Remove dependency on zope.app.form

Gediminas Paulauskas menesis at pov.lt
Mon Jan 2 12:36:15 UTC 2012


Log message for revision 123877:
  Remove dependency on zope.app.form

Changed:
  U   zope.html/trunk/setup.py
  U   zope.html/trunk/src/zope/html/configure.zcml
  U   zope.html/trunk/src/zope/html/widget.py

-=-
Modified: zope.html/trunk/setup.py
===================================================================
--- zope.html/trunk/setup.py	2012-01-02 12:36:01 UTC (rev 123876)
+++ zope.html/trunk/setup.py	2012-01-02 12:36:15 UTC (rev 123877)
@@ -71,11 +71,10 @@
           'zc.resourcelibrary',
           'ZODB3',
           'zope.annotation',
-          'zope.app.form',
           'zope.component',
           'zope.event',
           'zope.file',
-          'zope.formlib',
+          'zope.formlib>=4',
           'zope.i18nmessageid',
           'zope.interface',
           'zope.lifecycleevent',

Modified: zope.html/trunk/src/zope/html/configure.zcml
===================================================================
--- zope.html/trunk/src/zope/html/configure.zcml	2012-01-02 12:36:01 UTC (rev 123876)
+++ zope.html/trunk/src/zope/html/configure.zcml	2012-01-02 12:36:15 UTC (rev 123877)
@@ -47,7 +47,7 @@
   <view
       type="zope.publisher.interfaces.browser.IBrowserRequest"
       for=".field.IHtmlFragmentField"
-      provides="zope.app.form.interfaces.IInputWidget"
+      provides="zope.formlib.interfaces.IInputWidget"
       factory=".widget.FckeditorWidget"
       permission="zope.Public"
       />
@@ -55,7 +55,7 @@
   <view
       type="zope.publisher.interfaces.browser.IBrowserRequest"
       for=".field.IXhtmlFragmentField"
-      provides="zope.app.form.interfaces.IInputWidget"
+      provides="zope.formlib.interfaces.IInputWidget"
       factory=".widget.FckeditorWidget"
       permission="zope.Public"
       />

Modified: zope.html/trunk/src/zope/html/widget.py
===================================================================
--- zope.html/trunk/src/zope/html/widget.py	2012-01-02 12:36:01 UTC (rev 123876)
+++ zope.html/trunk/src/zope/html/widget.py	2012-01-02 12:36:15 UTC (rev 123877)
@@ -21,7 +21,7 @@
 import zc.resourcelibrary
 
 
-class FckeditorWidget(zope.app.form.browser.TextAreaWidget):
+class FckeditorWidget(zope.formlib.widgets.TextAreaWidget):
 
     editorWidth = 600
     editorHeight = 400
@@ -60,7 +60,7 @@
 </script>
 '''
 
-class CkeditorWidget(zope.app.form.browser.TextAreaWidget):
+class CkeditorWidget(zope.formlib.widgets.TextAreaWidget):
 
     editorHeight = 400
     fckVersion = '3.5.2'



More information about the checkins mailing list