cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Backoffice Renderer class

Former Member
0 Kudos
641

I have created a list View tag in "backoffice-config.xml" of type orderEntry which exsists inside cusom "core" extension.I created a new renderer class extending "WidgetComponentRenderer" inside the same core extension but during build it throws compile time errors. It is throwing cannot resolve type errors in all the imports in that class. Although in the class its not showing any compile errors.

Accepted Solutions (1)

Accepted Solutions (1)

former_member625836
Active Contributor
0 Kudos

Hi ,

Please make sure that your class is in backoffice\src folder instead of just src. Backoffice extensions contains two source folders: src for all core level classes and backoffice\src for those that are related with Backoffice web application. In most case you will not put any classes in simply src folder - only for very specific requirements, there is a need to define a class on core level (i.e. Spring contex listeners).

Cheers, Jacek

Former Member
0 Kudos

So in that case if we create a backoffice(and src) folder in my custom core extension will it work?

former_member625836
Active Contributor
0 Kudos

First of all you should create your backoffice extenstions using ybackoffice template - it creates all required folders, configurations, labels, samples, etc..

But yes - it should.

Former Member
0 Kudos

Ok thanks. It really helped

Answers (0)