[jbpm-dev] [Design of JBoss jBPM] - Re: Mail session configuration
bradsdavis
do-not-reply at jboss.com
Thu Apr 9 10:37:04 EDT 2009
Tom,
The templating email producer will extend the scriptable mail producer.
It will just add in reading from the template to populate body, subject, and optionally the script language tags.
The scriptable email producer calls:
| ScriptManager scriptManager = Environment.getFromCurrent(ScriptManager.class);
|
| this.body = (String)scriptManager.evaluateScript(this.body, exe, language);
| this.subject = (String)scriptManager.evaluateScript(this.subject, exe, language);
|
So, the templating will support whatever kind of scripting jBPM supports.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224722#4224722
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224722
More information about the jbpm-dev
mailing list