[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - view.py:1.4

Steve Alexander steve@cat-box.net
Mon, 6 Jan 2003 13:40:03 -0500


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

Modified Files:
	view.py 
Log Message:
Gave the interface and interfaces fields a basetype that can be None.
Made widgets display the interface name "Anything" for the catch-all
interface None.
Updated adapter and view configuration schemas to use None as the 
basetype for for_interface


=== Zope3/src/zope/app/browser/services/view.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/services/view.py:1.3	Mon Dec 30 09:02:54 2002
+++ Zope3/src/zope/app/browser/services/view.py	Mon Jan  6 13:39:31 2003
@@ -51,7 +51,7 @@
                                   )
     presentationType = InterfaceField(title=u"Provided interface",
                                       required=False,
-                                      type=IPresentation
+                                      basetype=IPresentation
                                       )
 
     viewName = TextLine(title=u'View name',