[Checkins] SVN: plone.z3cform/trunk/plone/z3cform/fieldsets/group.py Let groups work on the same context as the parent by default
Martin Aspeli
optilude at gmx.net
Thu Mar 5 14:26:40 EST 2009
Log message for revision 97547:
Let groups work on the same context as the parent by default
Changed:
U plone.z3cform/trunk/plone/z3cform/fieldsets/group.py
-=-
Modified: plone.z3cform/trunk/plone/z3cform/fieldsets/group.py
===================================================================
--- plone.z3cform/trunk/plone/z3cform/fieldsets/group.py 2009-03-05 18:35:12 UTC (rev 97546)
+++ plone.z3cform/trunk/plone/z3cform/fieldsets/group.py 2009-03-05 19:26:39 UTC (rev 97547)
@@ -11,6 +11,10 @@
__name__ = u""
label = u""
description = u""
+
+ def getContent(self):
+ # Default to sharing content with parent
+ return self.__parent__.getContent()
class GroupFactory(object):
implements(IGroupFactory)
More information about the Checkins
mailing list