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,
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. :-) I
I have a schema where for one attribute (processDef) the user should
be able to modify it only at the time he adds the object.
This is a quick hack to spare some lines of code, but it is not
working as expected. Modifying derived interface modifies the base
too.
Is that the expected behavior?
How