Hi all,
I have an object which when editing, checks for some attributes in the
parents containing folder by using the following type of code: (this is
called during a form.Editform call)
def _completeValues(self):
if self.a is None and self.__parent__.def_c == self.c:
my_a = self.__parent__.def_c * 2
setattr(self,'a',my_a)
Of course, for edits, this all works fine. However, how should I examine
values in the containing object during an Adding process, where
__parent__ would be None?
Thanks and Regards,
Adam
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users