Skip to Content

Need to override DefaultWidgetRenderingUtils that exists in backoffice-widgets jar in my custom backoffice extension

Need to override DefaultWidgetRenderingUtils that exists in backoffice-widgets jar in my custom backoffice extension in Hybris 6.1 so that the List View default implementation that resides in the same jar would take my custom implementation. It appears that Spring aliasing does not seem to work as my custom utils not getting invoked. Any help in addressing this would be highly appreciated! Thanks!!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 22, 2017 at 10:29 AM

    Hi ,

    It is because your spring context is injected after Backoffice context is already initialized and running. To deal with this situation extenders mechanism has been introduced. Please take a look at com.hybris.cockpitng.core.util.impl.BeanPropertyExtender - you may find some usage examples in existing code.

    Cheers, Jacek

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.