Hi,
Thx Florent for this information, i had forgotten. ;o)
I have another 2 questions ...
1) I try to modify "Modif.ftl" to send an individual mail for the users, i
added in the good directory " OSGI / INF> templates> modif.ftl " but shows
me "not file found".
"ERROR [NotificationMessageListener] An error occurred while trying to send
user notification"
I have create differents files but it is always the same error. When there's
" templates> Modif.ftl " in my XML CODE, it's the origine's document that is
taken into account and not mine.
How I can to resolve this ?
MY XML CODE
notification-contrib.xml
-----------------------------------------------------------------------------------------------
<component name="com.asyres.dev.notification-contrib">
<extension
target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
point="notifications">
<notification name="Modification2" channel="email" enabled="true"
availableIn="Workspace" autoSubscribed="false" template="modif2"
subject="Document modified 2"
label="label.nuxeo.notifications.modif">
<event name="documentModified" />
</notification>
<extension
target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
point="tmp">
<template name="modif2" src="tmp/modif2.ftl" />
</extension>
2) My other question is how to change l'UID generated automatically at start
and visible in http address (UID = 823d202e-b9f0-4e33-a6b4-6adb304af79e) by
"UID = France" for exemple ?
--
CERQUEIRA Daniel
Asyres
6, 8, 10 rue Troyon
92316 Sèvres
Tel : 01.55.64.05.64
2008/4/11, Florent Guillaume <[EMAIL PROTECTED]>:
>
> 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