[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - editview.py:1.6
Steve Alexander
steve@cat-box.net
Sun, 26 Jan 2003 07:05:20 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv29108/src/zope/app/browser/form
Modified Files:
editview.py
Log Message:
Added comments to note that the __implements__ attribute of classes
isn't being handled correctly in all cases.
See also
http://lists.zope.org/pipermail/zope3-checkins/2003-January/005727.html
regarding Zope3/src/zope/app/browser/content/sql.py
=== Zope3/src/zope/app/browser/form/editview.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/browser/form/editview.py:1.5 Thu Jan 9 09:13:04 2003
+++ Zope3/src/zope/app/browser/form/editview.py Sun Jan 26 07:05:18 2003
@@ -129,7 +129,7 @@
def EditViewFactory(name, schema, label, permission, layer,
template, default_template, bases, for_, fields,
fulledit_path=None, fulledit_label=None):
-
+ # XXX What about the __implements__ of the bases?
class_ = SimpleViewClass(
template,
used_for = schema, bases = bases
@@ -168,6 +168,7 @@
if class_ is None:
bases = (view, )
else:
+ # XXX What about class_.__implements__ ?
bases = (_context.resolve(class_), view)