cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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!!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member625836
Active Contributor
0 Kudos

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