On Thu, May 29, 2014 at 7:40 PM, Danilo Amaral de Oliveira <[email protected]> wrote: > Vicent, > Awsome! > > I was exploring XWiki documentation and this page appeared to me, and I asked > myself, how I could not find this page before, It could avoid unnecessarily > question in the mail list. Now I see that was created today. Hahaha > > Thank you very much. > > Just one question. I have noticed that your are using the EventListener class. > > It was not replaced with the AbstractEventListener class?
What is important is to implement EventListener, AbstractLogEventListener (which partially implements EventListener) is a helper which feets your use case or not but you don't have to use it. > > Thanks, > Danilo > > > De: Vincent Massol [mailto:[email protected]] Em nome de [email protected] > Enviada em: quinta-feira, 29 de maio de 2014 13:41 > Para: XWiki Users > Cc: Danilo Amaral de Oliveira > Assunto: Re: [xwiki-users] Differences between extensions (observation Module) > > I’ve created the following for you: > > http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingEventListenerTutorial#HSendamailwheneveracommentisadded > > ;-) > > -Vincent > > 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? >> What is the event that the XWiki generates when someone input a comment? >> DocumentUpdatedEvent? >> >> Thanks! >> Danilo >> >> >> Grupo Energisa >> Danilo Oliveira >> Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI >> e-mail: [email protected] | tel: (32) 3429-6342 | cel: (32) >> 8452-9478 >> >> Esta mensagem contém informação confidencial. Se você a recebeu por engano, >> não divulgue ou copie seu conteúdo. Por favor, avise ao remetente >> imediatamente e apague-a do computador. >> Privileged and confidential. If this message has been received by mistake, >> do not disclose or copy its contents. Please notify sender and delete >> immediately. >> >> >> > > Grupo Energisa > Danilo Oliveira > Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI > e-mail: [email protected] | tel: (32) 3429-6342 | cel: (32) > 8452-9478 > > Esta mensagem contém informação confidencial. Se você a recebeu por engano, > não divulgue ou copie seu conteúdo. Por favor, avise ao remetente > imediatamente e apague-a do computador. > Privileged and confidential. If this message has been received by mistake, do > not disclose or copy its contents. Please notify sender and delete > immediately. > > > _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
