Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

Dynamic Dialog in AEM Touch UI

Avatar

Level 2

Hi All,

I am trying to create a component in AEM Touch UI with dyanmic dialog. I want to  add listeners in the dialog. I am not able to listen the event and make changes in the dialog according to listener. 

Can anyone please help or give a sample example on how to create a dynamic Touch UI dialog in AEM 6.0

Thank you so much!

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Level 1

If you want to react on a change in a select field, you have to listen to the event "selected". After catching, you can get the other fields in the dialog by using the fromElement method: https://docs.adobe.com/docs/en/aem/6-1/ref/coral-ui/docs/2.17.0-granite-004/widget.html#jsdocMethods.

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten

Avatar

Korrekte Antwort von
Level 1

If you want to react on a change in a select field, you have to listen to the event "selected". After catching, you can get the other fields in the dialog by using the fromElement method: https://docs.adobe.com/docs/en/aem/6-1/ref/coral-ui/docs/2.17.0-granite-004/widget.html#jsdocMethods.

Avatar

Level 10

See this article to learn how to use event handlers in Touch UI dialogs. 

https://helpx.adobe.com/experience-manager/using/creating-touchui-events.html

Avatar

Level 2

This is on Dialog ready event. But I want to make a text field visible on select of a check box. 

Avatar

Level 10

You can use DOM events or JQuery events.