Thanks for the responses, everyone.

I really like this idea, Jerome. I see the JIRA issue here:

http://jira.xwiki.org/jira/browse/XWIKI-4936

I'll make time to look into implementing it myself. I may need some help, 
however, so I'll probably be asking some questions. :-)

-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:
> > 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/i
> > rcbot/src/main/resources/IRC/
>
> We should probably think about "initializable scripts" to
> avoid having to perform this scheduler trick.
>
> An object of class "XWiki.InitializableScript" with a script
> text area?
>
> Jerome.
>
> >
> >
> > Caleb James DeLisle
> >
> >
> > Rieken, Joshua wrote:
> >> Hello,
> >>
> >> I need to find the best way of registering an event
> listener automatically on wiki startup. Right now I have to
> manually register the listener in a manner similar to the one
> illustrated in the Groovy Notification Tutorial
> (http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotif
> icationTutorial).
> >>
> >> Thanks in advance for any help.
> >>
> >> - Joshua
> >>
> >> _______________________________________________
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> > _______________________________________________
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to