On 29 May 2014 at 15:44:49, vincent(a)massol.net
(vincent@massol.net(mailto:vincent@massol.net)) wrote:
Hi,
On 29 May 2014 at 15:31:33, Danilo Amaral de Oliveira
(danilo.oliveira@energisa.com.br(mailto:danilo.oliveira@energisa.com.br)) 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+Loc…
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.
com.xpn.xwiki.internal.event.CommentAddedEvent to be precise
-Vincent
Thanks
-Vincent
>
> Thanks!
> Danilo