Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Ten_A
Ten_A
Offline

Badges

Badges
2

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
0

Posts

Posts
2

Discussions

Discussions
0

Questions

Questions
2

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Ten_A
Customize the badges you want to showcase on your profile
Re: In AEM how to add a new node called “listeners” in the component dialog ,without using dialog.xml file. - Adobe Experience Manager 05-09-2017
Thank you all for your support. Found the following way to solve the issue .I added ValidateFields method from within the 2 listeners (FIELD_LISTENER_LOAD_CONTENT and FIELD_LISTENER_SELECTION_CHANGED)function ValidateFields(dialog) { dialog.on("beforesubmit", function(e) { if() CQ.Ext.Msg.alert(CQ.I18n.getMessage("Error"), CQ.I18n.getMessage("")); return false; } else { return true; }}, this);}

Views

1.3K

Likes

0

Replies

0
Likes given to