[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam - editingwidgets.py:1.4.24.6

Garrett Smith garrett at mojave-corp.com
Sun Feb 8 18:54:53 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv22019/src/zope/app/browser/skins/rotterdam

Modified Files:
      Tag: ozzope-widgets-branch
	editingwidgets.py 
Log Message:

Multiple changes:

- Added getViewProviding and queryViewProviding methods to zapi. These are
  used to lookup a view based on an interface it provides.

- Fixed a misspecified interface in rotterdamn textarea edit widget.

- Rework of utility.py in progress - tests broken.

- Removed the old view service.


=== Zope3/src/zope/app/browser/skins/rotterdam/editingwidgets.py 1.4.24.5 => 1.4.24.6 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/editingwidgets.py:1.4.24.5	Sun Feb  8 17:56:34 2004
+++ Zope3/src/zope/app/browser/skins/rotterdam/editingwidgets.py	Sun Feb  8 18:54:22 2004
@@ -17,13 +17,15 @@
 __metaclass__ = type
 
 from zope.interface import implements
+from zope.app.interfaces.form import IEditWidget
 from zope.app.browser.form.widget import BrowserWidget, renderElement
 from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
 
 class SimpleEditingWidget(BrowserWidget):
     """Improved textarea editing, with async saving using JavaScript."""
 
-    implements(ISimpleEditingWidget)
+    implements(IEditWidget)
+    
     default = ""
     width = 60
     height = 15




More information about the Zope3-Checkins mailing list