on 06-17-2015 9:30 AM
Hi,
I created a custombackoffice and I want to create a custom editor panel render class. So I extended DeafultEditorAreaRender class to achieve it. So to avoid compile time errors I added following jar files in lib (Not WEB-INF lib because there is no such directory in custom back office). So while server startup I am getting DeviceNotFoundException : ajax not found
If I am not aading those jar files compilation fails. I don't know what is the correct approach to do it. Could any tell me how to create it.
Thanks
I am facing the same issue. Please response with any help.
Thanks !!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
no it isn't. You should have the backoffice configured to export the jars and the custom extension should depend on backoffice (IDE and ant should both be able to resolve the dependencies).
The important part is to keep the code in backoffice/src (web part of the custom module).
Does it help?
Cheers, Wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Wojciech,
Even i facing same issue, what trying to say....I resolved the framework classes dependencies by double check, after i did ant build it shows compile time errors.
Is copying jars into lib of custom backoffice is right approach or nt ? or How can we resolve these ant build errors ?
Please give your response
Thanks !!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wojtek,
Anyway why it is matter with ee/any IDE? Even though IDE shows compile errors 'ant all' should work right? I tried without copying jar files and did ant all, then it shows compile time errors.
Please give your response
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the jars must not be copied. If you cannot see framework classes you need please doublecheck if your IDE has all the exports configured for the libraries.
Each custom renderer should implement the com.hybris.cockpitng.widgets.common.WidgetComponentRenderer interface. Having that implemented you point the renderer either by class name or by bean id (which you of course have to declare manually if you want spring to be used).
Cheers, Wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.