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);
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");