Expand my Community achievements bar.

SOLVED

listeners

Avatar

Former Community Member

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

3 Replies

Avatar

Level 10

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...

Avatar

Level 10

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.

Avatar

Correct answer by
Level 10

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