I just recopied the CommentEventListener which listens to changed comments,
and that worked.
So I suspected by use of AttachmentDeletedEvent and AttachmentUpdatedEvent
was wrong and I added DocumentUpdatedEvent as one of the types I was
interested in. I am nicely receiving them.
You did
On Tue, Jun 17, 2014 at 10:25 AM, Paul Libbrecht p...@hoplahup.net wrote:
I just recopied the CommentEventListener which listens to changed comments,
and that worked.
So I suspected by use of AttachmentDeletedEvent and AttachmentUpdatedEvent
was wrong and I added DocumentUpdatedEvent as one
On Tue, Jun 17, 2014 at 11:05 AM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:
On Tue, Jun 17, 2014 at 10:25 AM, Paul Libbrecht p...@hoplahup.net wrote:
I just recopied the CommentEventListener which listens to changed
comments, and that worked.
So I suspected by use of
On 06/13/2014 01:18 AM, Paul Libbrecht wrote:
Hello Vincent and all,
I've been successfully making my first (java-based) component (I can call it
from other places) using hints from there and the components' tutorial.
However, I have failed to get that component to listen to events.
Hello XWiki experts,
What else can wrong in my listener?
Shouldn't there be listener registration at components? (e.g. in the
initialize method)
yes, for registration you need to add the class to the META-INF/components.txt
Sure, that's done, couldn't get Utils.getComponent to work
On Sat, Jun 14, 2014 at 12:01 AM, Paul Libbrecht p...@hoplahup.net wrote:
Hello XWiki experts,
What else can wrong in my listener?
Shouldn't there be listener registration at components? (e.g. in the
initialize method)
yes, for registration you need to add the class to the
Hello Vincent and all,
I've been successfully making my first (java-based) component (I can call it
from other places) using hints from there and the components' tutorial.
However, I have failed to get that component to listen to events.
While another, groovy-based, listener is notified, my
On 30 May 2014 at 07:39:44, Marius Dumitru Florea
(mariusdumitru.flo...@xwiki.com(mailto:mariusdumitru.flo...@xwiki.com)) wrote:
Event listeners should not keep a reference to the XWiki context from
when they were created. XWiki context is created per request while the
event listener is
On Fri, May 30, 2014 at 9:32 AM, vinc...@massol.net vinc...@massol.net wrote:
On 30 May 2014 at 07:39:44, Marius Dumitru Florea
(mariusdumitru.flo...@xwiki.com(mailto:mariusdumitru.flo...@xwiki.com)) wrote:
Event listeners should not keep a reference to the XWiki context from
when they
Dear XWiki users,
Since I’ve seen several questions recently on the list related to XWiki events,
I’ve spent several hours rewriting the XWiki Notifications Tutorial here:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingEventListenerTutorial
You’ll learn for example:
- Adding content
Event listeners should not keep a reference to the XWiki context from
when they were created. XWiki context is created per request while the
event listener is used on multiple requests. I updated the
LoggingEventListener.
Thanks,
Marius
On Thu, May 29, 2014 at 7:39 PM, vinc...@massol.net
11 matches
Mail list logo