[Zope3-checkins] CVS: Zope3/src/zope/app/browser/utilities -
content.py:1.4.34.1 schema.py:1.5.22.1
Garrett Smith
garrett at mojave-corp.com
Thu Feb 26 00:11:23 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/utilities
In directory cvs.zope.org:/tmp/cvs-serv25181/src/zope/app/browser/utilities
Modified Files:
Tag: garrett-widgets2-branch
content.py schema.py
Log Message:
Yet another branch for widgets refactoring (YABFWR).
=== Zope3/src/zope/app/browser/utilities/content.py 1.4 => 1.4.34.1 ===
--- Zope3/src/zope/app/browser/utilities/content.py:1.4 Mon Aug 18 14:55:29 2003
+++ Zope3/src/zope/app/browser/utilities/content.py Thu Feb 26 00:10:53 2004
@@ -53,6 +53,7 @@
title=u"Accessor Permission",
default=CheckerPublic,
required=False)
+ # XXX OZ
setUpWidget(self, name+'_get_perm', permField, value=get_perm)
# Create the Mutator Permission Widget for this field
@@ -61,6 +62,7 @@
title=u"Mutator Permission",
default=CheckerPublic,
required=False)
+ # XXX OZ
setUpWidget(self, name+'_set_perm', permField, value=set_perm)
def update(self):
=== Zope3/src/zope/app/browser/utilities/schema.py 1.5 => 1.5.22.1 ===
--- Zope3/src/zope/app/browser/utilities/schema.py:1.5 Wed Nov 12 13:46:30 2003
+++ Zope3/src/zope/app/browser/utilities/schema.py Thu Feb 26 00:10:53 2004
@@ -84,4 +84,4 @@
if adapted is not self.context:
adapted.__parent__ = self.context
setUpEditWidgets(self, self.schema, names=self.fieldNames,
- content=self.adapted)
+ context=self.adapted)
More information about the Zope3-Checkins
mailing list