You must give your configuration component a unique name.
Do not reuse
name="org.nuxeo.ecm.platform.notification.service.NotificationContrib"
which already exists in Nuxeo. Your component will be ignored. There
must be a warning in the startup logs that tells you that.
You must invent your own name.
Florent
On 11 Apr 2008, at 15:49, Daniel CERQUEIRA wrote:
Hi all,
I try to set up the mail's notifications on nuxeo.
I like to put by default (as explained in the nuxeo book :
autoSubscribed="true" ) users recorded by default for a defined event.
I added the user "user" with a valid e-mail.
For "Administrator" too, and i see no results for the 2 users when i
modify a document.
Anybody has an idea?
MY XML CODE :
notification-contrib.xml
-----------------------------------------------------------------
<component
name
="org.nuxeo.ecm.platform.notification.service.NotificationContrib">
<extension
target
=
"org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
point="notifications">
<notification name="Modification" channel="email" enabled="true"
availableIn="Workspace"
autoSubscribed="true" template="modif" subject="Document
modified" label="label.nuxeo.notifications.modif">
<event name="documentModified"/>
<eventInfo recepients="Administrator" />
<eventInfo recepients="user" />
</notification>
<extension
target
=
"org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
point="templates">
<template name="modif" src="templates/modif.ftl" />
</extension>
</extension>
</component>
--
CERQUEIRA Daniel
Asyres
6, 8, 10 rue Troyon
92316 Sèvres
Tel : 01.55.64.05.64
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm