Expand my Community achievements bar.

SOLVED

AEM Dialog

Avatar

Level 2

How to Create a component which is having a dialog box for Dynamically addition of tabs?

And as per requirement, Tabs should be in dialog box.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
5 Replies

Avatar

Community Advisor

Hi @NayanGarade ,

 

Welcome to the community. Could you please elaborate your usecase a bit more clearly? 

Avatar

Level 2

I want a dialog (cq:dialog) which is dynamic in nature and a author can add "N" number of tabs in dialog box as per requirement.

Avatar

Correct answer by
Community Advisor

Avatar

Community Advisor

@NayanGarade - I think you need a custom listener or Javascript to handle this scenario. You can make use of CoralUI APIs to achieve this you need to use Event Listeners for this while adding any extra tav to the touchui dialog.

 

Please refer the below link for CoralUI for Tab of a dialog.

https://developer.adobe.com/experience-manager/reference-materials/6-4/coral-ui/coralui3/Coral.TabVi...