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

Extend Existing ComponentController in an addon

Former Member
0 Likes
398

Hello,

Did anybody have to extend a Component Controller in an addon? For example ProductReferencesComponentController?

How does it need to be configured? For example the mapping name can't be the same as the one of the storefront otherwise spring complains.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Likes

Check this link: https://help.hybris.com/6.6.0/hcd/8ac75e8b86691014bfc1c72a07f43240.html. Its part of the Telco Acclerator and it depends on b2ctelcocheckoutAddOn AddOn. Example: ProductReferencesAndClassificationsForDevicesComponentController and ProductReferencesAndClassificationsComponentController classes

Former Member
0 Likes

Hi

Yes I have the code of the telco addon, however, it is a new component. I can't find anywhere how to extend a ComponentController. Maybe I need to create a new one which still uses the ProductReferencesModel..

crescenzorega
Active Participant
0 Likes

You have tried to read this link

Adding New CMS Components

Former Member
0 Likes

Yes, but I meant in an addon, how do you map it? It's easy with PageController..