Skip to main content
Level 2
January 11, 2022
Répondu

AEM Tabs Component - How to add an extra field

Hi,

Im trying to extend the AEM Tabs Component in order that when you add a tab in the dialog, it gives you an additional text field for each tab you add and how to show this additional text fields value for that tab on the frontend.

I do see that the tab component uses the childeditor, is there a way to achieve this?

 

Thank you.

Ce sujet a été fermé aux réponses.
Meilleure réponse par Kiran_Vedantam

Hi @jawillis 

 

For this, you can extend the core component and add the additional dialog fields. To fetch the value, extend the core components model using delgating pattern and add the additional values as per your requirement.

 

Check the example here: https://levelup.gitconnected.com/aem-extend-core-component-models-using-resource-type-association-and-delegation-b8855ed281e2

 

Hope it solves your issue!

 

Thanks,

Kiran Vedantam.

2 commentaires

Kiran_Vedantam
Community Advisor
Community Advisor
January 11, 2022

Hi @jawillis 

 

For this, you can extend the core component and add the additional dialog fields. To fetch the value, extend the core components model using delgating pattern and add the additional values as per your requirement.

 

Check the example here: https://levelup.gitconnected.com/aem-extend-core-component-models-using-resource-type-association-and-delegation-b8855ed281e2

 

Hope it solves your issue!

 

Thanks,

Kiran Vedantam.

JAWillisAuteur
Level 2
January 12, 2022

Thank you Kiran,

I will take a look and see if this is the resolution.