bidrectional editing of a reference

Hello again!

To elaborate my question, I'd like to give a short example.
My sandboxes looks like this

PersonRegister
ref to firstname
ref to lastname

Person
firstname:Chuck
lastname:Norris

Now I'd like to be able to edit the first- and lastname references in PersonRegister. Is that somehow possible?
Thanks again! :]

Regards,
msch95
2 comments
Hi,

try setting the read-only property on the name cell of the reference to "false". See the screenshot: editable_ref.png (87KB)
0
Thanks, that was getting me forward. (Really easy fix though)
I experienced another problem..

I have nested references like this:
[- 
 instance ref ( % ref1 % -> ( % ref2 % -> { name } ) ) 
 property ref ( % ref1 % -> ( % ref3 % -> { prop } ) ) 
 <constant> ( % ref1% -> (/ % childStatements % /) ) 
 -]
            /empty cell: empty           
prettyPrint();

I'd like to elaborate my issue. First of all I don't get any suggestions in the pop-up menu from the sandbox editor for the {name} and the {prop} although I've defined the reference presentation of ref2 and ref3 references in the ref1 concept.
Maybe there's a solution for that.
And the second thing.. If I add a new childStatements concept in the editor, it always appears in the first row wherever I place my cursor and hit the Enter key.

Thanks for your time!

Regards,
msch95
0

Please sign in to leave a comment.