listeners | Community
Skip to main content
October 20, 2017
Solved

listeners

  • October 20, 2017
  • 3 replies
  • 3790 views

What would be the difference between name:listeners and type: nt:unstructured listener and name:cq:listeners and type:cq:EditListenersConfig listener. Please throw some light.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by edubey

Hi,

I am not sure what do you refer to when you mean "name:listeners and type:nt:unstructured listener", would be great if you can give example.

Regarding cq:listeners  These are used to define an event on dialog - Doc AEM Components - The Basics

Thanks

3 replies

smacdonald2008
Level 10
October 20, 2017

In AEM - the two listeners that you should really understand the difference between is JCR Event listeners and Sling Event listeners.

See these resources:

Event Handling in CQ - Experience Delivers

CQ coding patterns: Sling vs JCR (part 2) | Things on a content management system

AEM: Sling API vs JCR API | myprogressivelearning

Hope this helps...

Ratna_Kumar
Level 10
October 20, 2017

Adding to Scott!!

See our HELPX articles for both JCR Event listeners and Sling event listeners.

//JCR Event listeners: Adobe Experience Manager Help | Creating Event Handlers for Adobe Experience Manager

//Sling event listeners: Adobe CQ Help | Creating Replication Event Handlers for Adobe Experience Manager

Hope this helps!!

~Ratna.

edubey
edubeyAccepted solution
Level 10
October 22, 2017

Hi,

I am not sure what do you refer to when you mean "name:listeners and type:nt:unstructured listener", would be great if you can give example.

Regarding cq:listeners  These are used to define an event on dialog - Doc AEM Components - The Basics

Thanks