Hi, On 29 May 2014 at 15:31:33, Danilo Amaral de Oliveira ([email protected](mailto:[email protected])) wrote:
Hello People,
I am needing to create an observation module In my XWiki to monitor the comments creation actions of a specific space. All time that someone put a comment I need to send an email to a specific group.
I have found these two instructions: http://extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Module+Loca... http://platform.xwiki.org/xwiki/bin/view/DevGuide/JavaScriptAPI
When I use one or other?
You need the first one. The second one is for JS events not document-related events.
What is the event that the XWiki generates when someone input a comment? DocumentUpdatedEvent?
Best is to use CommentAddedEvent. Thanks -Vincent
Thanks! Danilo