Hi
I have an object (a command) that references some other object (a
model object). Instead of copying all descriptions on the class side I
use a MAOneToOneRelationDescription (I guess I'll have to make a copy
for editing so it works with the persistence). This works so far but
I'd like to flatten the editor component to that the fields of the
referenced object are mixed with those of the referencing object.
The description looks something like this:
descriptionItem
^ (MAOneToOneRelationDescription selector: #item label: 'Rule' priority: 100)
componentClass: MAInternalEditorComponent;
classes: (Array with: SVACLItem);
yourself.
And the output like this
http://img121.imageshack.us/my.php?image=nesteddescription3jp.png
What I'd like is the 'Rule' label to disappear and the 'Principal'
'Allow' and 'Command' fields instead appear on its level.
Did I express myself in an understanable way? Do I even use the
correct approach?
Cheers
Philippe