private String postingFormTemplate, postingFormDoneTemplate,
postingFormDupeTemplate;
private ModuleContent contentModule;
+ private ModuleComment commentModule;
private ModuleImages imageModule;
private ModuleTopics themenModule;
private String directOp ="yes";
}
else {
DatabaseContent.getInstance().setUnproduced("id="+aid);
- MirGlobal.localizer().openPostings().afterCommentPosting();
+
+ try {
+ EntityComment comment = (EntityComment) DatabaseComment.getInstance().selectById(id);
+ MirGlobal.localizer().openPostings().afterCommentPosting(comment);
+ }
+ catch (Throwable t) {
+ throw new ServletModuleException(t.getMessage());
+ }
+
+
+
}
// redirecting to url
contentEnt.update();
+
//dereference mp. -mh
mp=null;
-
- MirGlobal.localizer().openPostings().afterContentPosting();
+ try {
+ MirGlobal.localizer().openPostings().afterContentPosting(contentEnt);
+ }
+ catch (Throwable t) {
+ throw new ServletModuleException(t.getMessage());
+ }
}
catch (IOException e) { throw new ServletModuleException("IOException: "+ e.toString());}
catch (StorageObjectException e) { throw new ServletModuleException("StorageObjectException" + e.toString());}