Erm,

is this a dumb question?

I really just want to automate
xwiki.getXWiki().getNotificationManager().addGeneralRule(this.rule); The notification page field of XWikiPreferences seems to be expecting XWikiActionNotificationInterface while we implement XWikiDocChangeNotificationInterface as in the pircbot tutorial. Is there no way except a wget in the startup script to actually trigger the listener to be activated?

thanks in advance

paul

Le 21-nov.-08 à 00:26, Paul Libbrecht a écrit :


Hello xwikiers,

the page at
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/Notifications
is really nice and shows a real nice pearl of XWiki.

I did similarly and my notifier seems to run smoothly.

I would like to know, however, what is the way to make sure that a notifier (an implementation of XWikiDocChangeNotificationInterface) is running at every restart of our XWiki.

I tried to add the fullname of either the velocity (the "starter") or the Groovy pages into that line and restarting but my notifier didn't seem to have been running after that.

What is the correct way?
It should definitely be documented at the pircbot page.

thanks in advance

paul_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to