no message
authorfh <fh>
Wed, 5 Sep 2001 15:13:10 +0000 (15:13 +0000)
committerfh <fh>
Wed, 5 Sep 2001 15:13:10 +0000 (15:13 +0000)
source/mircoders/servlet/ServletModuleLinksImcs.java

index 5601790..12e10ee 100755 (executable)
@@ -57,14 +57,11 @@ public class ServletModuleLinksImcs extends ServletModule
       theList = mainModule.getByWhereClause("to_parent_id=NULL", offset);
       modelRoot.put("new", "1");
       modelRoot.put("contentlist",HTMLTemplateProcessor.makeSimpleList(theList));
-      PrintWriter out = res.getWriter();
 
       if (theList == null || theList.getCount() == 0 || theList.getCount()>1){
-        //HTMLTemplateProcessor.process(getLanguage(req)+"/"+templateObjektString, theList, out);
-        HTMLTemplateProcessor.process(getLanguage(req)+"/"+templateObjektString, modelRoot, out);
+        HTMLTemplateProcessor.process(getLanguage(req)+"/"+templateObjektString, modelRoot, res.getWriter());
 
       } else {
-        //deliver(req, res, theList.elementAt(0), templateObjektString);
         deliver(req, res, modelRoot, templateObjektString);
       }