Skip to Content
Jun 02, 2016 at 09:22 PM

How to show All attributes of B type in editable mode in A type editor area in back office .


alt textusing hybris 6 - backoofice extension.


     <editorArea:editorArea xmlns:editorArea="">
         <editorArea:tab name="xyz tab">
             <editorArea:section name="xyz section">
                     <editorArea:attribute qualifier="code" readonly="true" label="code"/>
                     <editorArea:attribute qualifier="X" /> --> **"Integer"**
                     <editorArea:attribute qualifier="y" /> --> **"String"**
                     <editorArea:attribute qualifier="z" /> --> **"Booleaan"**
                     <editorArea:attribute qualifier="b" />   --> **" attribute of type B "**                  

Here B type is used in A type and B type is having 3 diff attributes of its own. i want to display the B type attributes in my A type editor-area in backoffice and option to edit them as well. currently using "com.hybris.cockpitng.editor.defaultferenceeditor" i was only able to get a box which on click will open a popup with B type attribute editor.

What is the best possible way to handle this requirment ?.

Thanks in advance.