Hello Stephan, I'm just thinking about the following:
IDocTypeEditForm = copy.deepcopy(IDocType) IDocTypeEditForm.getDescriptionFor('processDef').readonly=True what do you think about that? I'd like to keep it really simple and so reduce the opportunities of errors. Tuesday, December 13, 2005, 2:20:48 PM, you wrote: > On Tuesday 13 December 2005 05:41, Adam Groszer wrote: >> IDocTypeEditForm.getDescriptionFor('processDef').readonly=True >> >> >>>IDocType.getDescriptionFor('processDef').readonly >> >> True >> >> >>>IDocTypeEditForm.getDescriptionFor('processDef').readonly >> >> True > This is correct Python behavior. :-) If you want a refined field definition, > you have to recreate the field. > Regards, > Stephan -- Best regards, Adam mailto:[EMAIL PROTECTED] -- Quote of the day: Weiler's Law: Nothing is impossible for the man who does not have to do it himself. _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com