[DOCU-200] Registering event listeners programmatically Created: 26/Aug/11  Updated: 20/Jan/15  Resolved: 20/Jan/15

Status: Closed
Project: Documentation
Component/s: content
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Suzanne Deprez Assignee: Christoph Meier
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

A user asked how to add a listener that would update the cache for the public instance when content is activated in the forum thread http://forum.magnolia-cms.com/forum/thread.html?threadId=3300574a-b76f-4bc1-835e-527eb0bf0285. The response doesn't seem to be covered by documentation (at least directly). A use case would make the answer readily available to users.



 Comments   
Comment by Antti Hietala [ 29/Aug/11 ]

I am changing the title of this issue to tackle the wider problem. Registering event listeners programmatically is completely missing from documentation. ObservationUtil class is briefly mentioned in Configuration mechanisms but is not discussed in Observation where it should be.

Use the forum post as a "mini use case" in the Observation article to explain the motivation: why and when do you need to edit code as opposed to configuring event listeners in AdminCentral?

Generated at Mon Feb 12 01:06:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.