[Zope3-checkins] CVS: Zope3/src/zope/app/browser/cache - cacheable.py:1.10.28.2

Garrett Smith garrett at mojave-corp.com
Mon Mar 1 18:33:36 EST 2004


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

Modified Files:
      Tag: garrett-widgets2-branch
	cacheable.py 
Log Message:
Changes related to widget machinery:

- Added source argument to setUpEditWidgets and setUpDisplayWidgets.
- Renamed IEditWidget to IInputWidget.
- Added a widgetsData attribute to zope.app.interfaces.formWidgetsError.



=== Zope3/src/zope/app/browser/cache/cacheable.py 1.10.28.1 => 1.10.28.2 ===
--- Zope3/src/zope/app/browser/cache/cacheable.py:1.10.28.1	Thu Feb 26 00:10:46 2004
+++ Zope3/src/zope/app/browser/cache/cacheable.py	Mon Mar  1 18:33:05 2004
@@ -34,7 +34,7 @@
     def __init__(self, *args):
         super(CacheableView, self).__init__(*args)
         self.cacheable = zapi.getAdapter(self.context, ICacheable)
-        setUpEditWidgets(self, ICacheable, context=self.cacheable)
+        setUpEditWidgets(self, ICacheable, source=self.cacheable)
 
     def current_cache_id(self):
         "Returns the current cache ID."




More information about the Zope3-Checkins mailing list