cancel
Showing results for 
Search instead for 
Did you mean: 

customer editorarea customization

Former Member
0 Kudos

Hi,

i need to add inside customer editorarea the attribute Gender of the corresponding oob GenderModel. I need to put some custom logic on this editor attribute before render it.

Could anyone please help me.

thank you in advance. M

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi , You can follow the below steps 1. Merge the editor-area config in the custombackoffice extension's config 2. Write a custom editor referring here . In the Editor class use the Overrided render() method to do custom logic 3. In the editor-area config use the "id" defined in definiton.xml of the editor created as shown below

 <editorArea:attribute qualifier="editorAttr" editor="com.hybris.sample.editorAttr"/>
 

Hope its clear ..:) Thanks Seb