Skip to Content
0
May 15, 2018 at 08:57 AM

DefaultEditorArea Renderer

619 Views

Hello,

how do you replace any of the DefaultEditorArea Renderers e.g. com.hybris.cockpitng.widgets.editorarea.renderer.impl.DefaultEditorAreaSectionRenderer with your own implementation?

I tried to:

  • create "CustomEditorAreaSectionRenderer" extending "DefaultEditorAreaSectionRenderer"

  • create bean for CustomEditorAreaSectionRenderer in *-backoffice-spring.xml

This is where i failed first trying to set the parent to "defaultEditorAreaSectionRenderer" since this bean somehow does not exist.

All the other workarounds I tried did not seem to be successful, monitoring through a breakpoint on the setter in DefaultEditorAreaTabRenderer where the CustomEditorAreaSectionRenderer shall be injected into.

Many thanks in advance for your help.