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
+ theLog.printDebugInfo("############### getting medialist");
upMediaEntityList = DatabaseContentToMedia.getInstance().getUploadedMedia(currentContent);
+ theLog.printDebugInfo("############### got medialist");
if (upMediaEntityList!=null && upMediaEntityList.getCount()>=1) {
tinyIcon = null;
iconAlt = null;