Hi Erik.

Are you invoking the setter within a a wrapped call? 

If so, on the modifyXXX instead of "this.wrap(domainObjectB).setXXX" 

Try

"this.wrapSkipRules(domainObjectB).setXXX" 

This will execute all business logic associated with the property (validate, 
modify, etc) without taking into account if the field is hidden or disabled.

"wrapSkipRules" was introduced about a month ago or so, so perhaps you will 
need to update Isis to the latest snapshot

> El 16/06/2014, a las 11:42, Erik de Hair <[email protected]> escribió:
> 
> Hi,
> 
> I have a class A that has a derived property referencing class B that has 
> some properties. B's fields are all disabled when editing class A.
> 
> Is it possible to modify B's properties by delegating the setters of these 
> properties to A by using modifyXXX-methods? I tried to do this but the fields 
> are still disabled (with reason "always disabled").
> 
> Thanks,
> Erik

Reply via email to