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

AddOn Issue : Component Controller not called from AddOn.

Former Member
0 Likes
554

Dear All,

1)i just created an addon(b2bglobalcommonheaderaddon), and copy navigationbarcomponent from my Myb2bstorefront to the created addon and also its component jsp file and tag files. to respective tag and cms folder.

2)My NavigationBarComponentController extends AbstractCMSAddOnComponentController. and overrides fillmodel().

3)Done in local extension.

4) Installed addon with ant addoninstall -Daddonnames="b2bglobalcommonheaderaddon" -DaddonStorefront.yb2bacceleratorstorefront="Myb2bstorefront"

5) After following above steps in am not able to call my controller. I have deleted NavigationBarComponent from Myb2bstorefront CMS folder.

Hope i will get some help here..

Cheers...

Accepted Solutions (0)

Answers (1)

Answers (1)

sachinsaxena_1
Explorer
0 Likes

Please make sure of below few things:

  1. Your controller is defined in acceleratoraddon/web/src

  2. Your web-spring.xml have defined ""

  3. Make sure request mapping of new controller is defined correctly.

Thanks, Sachin

sachinsaxena_1
Explorer
0 Likes

You web-spring xml has component-scan tag defined for your controller