You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2006/03/15 23:26:57 UTC
Re: involve all Editor e-mails in java doc
rihab.salih@student.uni-tuebingen.de wrote:
>Hi all,
>
>I'm trying to get out, how to send an automatically email notification to all
>Editors in the Group-List, when users e.g. submit new Document.
>
>I have Java Class "SendMail.java" which is associated with the action
>(SendMail) in the Workflow.xml
>
> <transition source="authoring" destination="review">
> <event id="submit"/>
> <condition
> class="org.apache.lenya.cms.workflow.RoleCondition">edit</condition>
> <action id="org.apache.lenya.cms.workflow.SendMail">
> to: recipientmail@ .. .com,
> subject: Submit Doc.,
> body: Document - submit!
> </action>
> </transition>
>
>My problem is, i don’t want to fix the recipient email Address in the
>Workflow.xml but rather to let it be Dynamic insert.
>
I guess the most straightforward would be to customize the
SendMailAction, which
would gather all emails from this particual group.
> This way is comfortable,
>if new Editor member add to the List.
>
>The question is, is this possible, and how could it be realized?
>
>Lenya: version 1.2.4
>cocoon: version 1.2.7
>
>
I guess you mean Cocoon 2.1.7 ;-)
HTH
Michi
>Thanks in advance
>Salih
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
>
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: involve all Editor e-mails in java doc
Posted by ri...@student.uni-tuebingen.de.
Michael Wechner <mi...@wyona.com> schrieb:
Thanks for your quick replay,
> I guess the most straightforward would be to customize the
> SendMailAction, which
> would gather all emails from this particual group.
Right, and that is my Problem, where can i found all emails this group?!
I have this SendMailAction and i want to involve an Parameter, which enable me
to gather all emails (such like the Parameter "notifaction.tolist")
Regards,
salih
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org