On 29 May 2014 at 15:44:49, [email protected] 
([email protected](mailto:[email protected])) wrote:

> 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+Local
> > 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
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to