* open-postings to the newswire
*
* @author mir-coders group
- * @version $Id: ServletModuleOpenIndy.java,v 1.87 2003/05/04 23:52:14 john Exp $
+ * @version $Id: ServletModuleOpenIndy.java,v 1.88 2003/05/06 12:22:07 john Exp $
*
*/
StringWriter theEMailTextWriter=new StringWriter();
PrintWriter dest = new PrintWriter(theEMailTextWriter);
Map articleData = new HashMap();
- articleData.put("article",mir.generator.FreemarkerGenerator.makeAdapter(contentEnt));
+ articleData.put("article",MirGlobal.localizer().dataModel().adapterModel().makeEntityAdapter("content", contentEnt));
articleData.put("languagecode",mail_language);
deliver(dest,req, res, articleData, null, emailAnArticleTemplate,mail_language);
theEmailText=theEMailTextWriter.toString();