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!
Solved! Go to Solution.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
This is on Dialog ready event. But I want to make a text field visible on select of a check box.
Views
Replies
Total Likes
You can use DOM events or JQuery events.
Views
Replies
Total Likes
Views
Likes
Replies