Expand my Community achievements bar.

SOLVED

AEM Tabs Component - How to add an extra field

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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-an...

 

Hope it solves your issue!

 

Thanks,

Kiran Vedantam.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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-an...

 

Hope it solves your issue!

 

Thanks,

Kiran Vedantam.

Avatar

Level 2

Thank you Kiran,

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