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/ircbot/...
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/GroovyNotificationTutorial).
Thanks in advance for any help.
- Joshua
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users