AEM Tabs Component - How to add an extra field | Community
Skip to main content
Level 2
January 11, 2022
Solved

AEM Tabs Component - How to add an extra field

  • January 11, 2022
  • 2 replies
  • 3205 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by 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 replies

Kiran_Vedantam
Community Advisor
Kiran_VedantamCommunity AdvisorAccepted solution
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.

JAWillisAuthor
Level 2
January 12, 2022

Thank you Kiran,

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