[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/form/browser/interfaces.py Reverted addition of context attribute to ISourceQueryView.

Benji York benji at zope.com
Fri Feb 4 12:22:30 EST 2005


Log message for revision 29037:
  Reverted addition of context attribute to ISourceQueryView.
    The fact that context was required by the page template is an implementation
    decision that is not part of the interface presented to "upstream" users of
    SimplePrincipalSourceQueryView.
  

Changed:
  U   Zope3/trunk/src/zope/app/form/browser/interfaces.py

-=-
Modified: Zope3/trunk/src/zope/app/form/browser/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/interfaces.py	2005-02-04 17:11:27 UTC (rev 29036)
+++ Zope3/trunk/src/zope/app/form/browser/interfaces.py	2005-02-04 17:22:29 UTC (rev 29037)
@@ -18,7 +18,7 @@
 __docformat__ = 'restructuredtext'
 
 from zope.interface import Interface
-from zope.schema import TextLine, Bool, Field
+from zope.schema import TextLine, Bool
 from zope.app.form.interfaces import IWidget, IInputWidget
 
 
@@ -177,10 +177,6 @@
     """View support for querying non-iterable sources
     """
 
-    context = Field(
-        title=u'Context',
-        description=u'Context of the view.')
-        
     def render(name):
         """Return a rendering of the search form elements
         """



More information about the Zope3-Checkins mailing list