- // producing openpostinglist
- new ProducerOpenPosting().handle(null,null,false,false);
- // producing new page
- new ProducerContent().handle(null, null, false, false,cid);
- //if direct op producing startpage
- if (directOp.equals("yes")) new ProducerStartPage().handle(null,null);
-
- //produce the topicPages if set
- //should be more intelligent
- //if(setTopic==true) new ProducerTopics().handle(null,null);
-
- // sync the server
- //should be configureable
- int exitValue = Helper.rsync();
- theLog.printDebugInfo("rsync: "+exitValue);
-
+ try {
+ MirGlobal.localizer().openPostings().afterContentPosting(
+ (EntityContent)contentModule.getById(cid));
+ }
+ catch (Throwable t) {
+ throw new ServletModuleException(t.getMessage());
+ }