Skip to Content
0
Former Member
Dec 06, 2018 at 01:59 PM

customize editorarea

435 Views

Hy experts.

I want to create a customize editor area and need an advice. What I want to do is:

I have this data when selecting an result. alt text

In all this tabs I will have data from the selected entity but from other entities relationed. For example imagine I've selected an order. This order has a property which is a type of another entity linesOfOrder. This entity linesOfOrder has a property "product" which is a type of another entity "Product".

In this first tab "General" I want to show for example ordernumber, linesOfOrder id and product name. I know I need for each tab a custom render but I don't know how to show those inputs.

For this first tab I have:

 <editorArea:editorArea xmlns:editorArea="http://www.hybris.com/cockpitng/component/editorArea">
             <editorArea:tab name="new.request.general.tab">
                 <editorArea:section name="new.request.general.tab">
                     <editorArea:customPanel name="customTabGeneral" spring-bean="customGeneralRender">
                         **<editorArea:render-parameter>
                             <editorArea:name></editorArea:name>
                             <editorArea:value></editorArea:value>
                         </editorArea:render-parameter>**
                     </editorArea:customPanel>
                 </editorArea:section>
             </editorArea:tab>



How can I create entries for this information so user can see and modify if needed.

Thanx a lot. Regards.

Attachments