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

extend controller acceleratorservices

Former Member
0 Likes
721

Hy everybody.

I have a problem when I try to extends the SilentOrderPostMockController. In my storefront extension I create a new controller that extends the other one which belongs to acceleratorservices extension. I add requiered extension in extension.xml from storefront but trying to make ant clean all I get the error that import de.hybris.platform.acceleratorservices.web.payment.controllers.SilentOrderPostMockController cannot be resolved.

I even add manually dependecies on project, using Intellij. Any hint about why this could happen? I'm using Hybris 18 Thanx a lot.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Hi I couldn't get this work out. Finally what I did is create a new mock process and I use that one instead of the one provided by hybris. We were running out of time so didn't spend to many time trying to solve that ;)

arvind-kumar_avinash
Active Contributor
0 Likes

AFAIK, you can not import classes from /web path to your extension. Nevertheless, you can try adding your controller under /web/src. If it does not work, you may have to either copy the source files from /acceleratorservices/web/src to your extension's /web/src or the class files from /acceleratorservices/web/webroot/WEB-INF/classes to your extension's web/webroot/WEB-INF/classes.

I will wait for your feedback.