cancel
Showing results for 
Search instead for 
Did you mean: 

Why custom label provider is not working in NG cockpit hybris 5.4

Former Member
0 Kudos
651

Hi ,

We have tried to implement custom label provider but it is not picked by ng cockpit.

e.g.

 <y:base xmlns:y="http://www.hybris.com/cockpit/config/hybris">
     <y:labels beanId="myRegionProvider">
     </y:labels>
 </y:base>

bean id="myRegionProvider" class="xyz.widgets.labels.MyRegionProvider" Spring bean in -backoffice-spring.xml

Please let us know what I'm missing here.

Thanks, Trilok

View Entire Topic
pascu
Explorer
0 Kudos

Solved it by creating an ApplicationListener bean which listens on ContextRefreshedEvent.

Added the logic of moving the label provider beans in the parent context.