Re: [xwiki-users] Registering an event listener automatically

2010-02-24 Thread Caleb James DeLisle
If you're talking about an eventListener in a groovy script, I think it's done with a scheduler. You can look at Vincent's IRC bot which does that very thing. http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-applications/trunk/ircbot/src/main/resources/IRC/ Caleb James DeLisle Rieken, Joshua

Re: [xwiki-users] Registering an event listener automatically

2010-02-24 Thread Vincent Massol
Hi Joshua, If your listener is located in a jar in WEB-INF/lib then it'll get registered automatically. Make sure it's registered properly as a component. If you're talking about registering some event listener defined in a page using the groovy macro then it's harder. You could have a

Re: [xwiki-users] Registering an event listener automatically

2010-02-24 Thread Jerome Velociter
On 2/24/10 5:24 PM, Caleb James DeLisle wrote: If you're talking about an eventListener in a groovy script, I think it's done with a scheduler. You can look at Vincent's IRC bot which does that very thing.

Re: [xwiki-users] Registering an event listener automatically

2010-02-24 Thread Vincent Massol
On Feb 24, 2010, at 5:30 PM, Jerome Velociter wrote: On 2/24/10 5:24 PM, Caleb James DeLisle wrote: If you're talking about an eventListener in a groovy script, I think it's done with a scheduler. You can look at Vincent's IRC bot which does that very thing.

Re: [xwiki-users] Registering an event listener automatically

2010-02-24 Thread Jerome Velociter
On 2/24/10 5:49 PM, Vincent Massol wrote: On Feb 24, 2010, at 5:30 PM, Jerome Velociter wrote: On 2/24/10 5:24 PM, Caleb James DeLisle wrote: If you're talking about an eventListener in a groovy script, I think it's done with a scheduler. You can look at Vincent's IRC bot which does that

Re: [xwiki-users] Registering an event listener automatically

2010-02-24 Thread Rieken, Joshua
-Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Jerome Velociter Sent: Wednesday, February 24, 2010 10:31 AM To: users@xwiki.org Subject: Re: [xwiki-users] Registering an event listener automatically On 2/24/10 5:24 PM, Caleb James DeLisle wrote