debug info
authorrk <rk>
Mon, 4 Feb 2002 19:51:30 +0000 (19:51 +0000)
committerrk <rk>
Mon, 4 Feb 2002 19:51:30 +0000 (19:51 +0000)
source/mircoders/producer/ProducerStartPage.java

index cda77ea..3e34656 100755 (executable)
@@ -98,7 +98,9 @@ public class ProducerStartPage extends Producer {
     entityList = contentModule.getContent(whereClause,"date desc, webdb_create desc",0,newsPerPage);
     SimpleList newsWireList = HTMLTemplateProcessor.makeSimpleList(entityList);
     for (int i=0; i < entityList.size();i++) {
+      theLog.printDebugInfo("Getting content"+i);
       currentContent = (EntityContent)entityList.elementAt(i);
+      theLog.printDebugInfo("Got content");
       try {
           //fetching/setting the images
           upMediaEntityList = DatabaseContentToMedia.getInstance().getUploadedMedia(currentContent);
@@ -280,7 +282,7 @@ public class ProducerStartPage extends Producer {
             contentHash.put("to_media_video", mediaListVideo);
             contentHash.put("to_media_other", mediaListOther);
           } //end if currentMediaList != null
-                                       
+
                                        //convert to html
                                        if ( ((SimpleScalar)contentHash.get("is_html")).getAsString().equals("0") ) {
                                                SimpleScalar tempScalar = (SimpleScalar)contentHash.get("description");