if (list!=null || force==true) {
SimpleHash mergeData = HTMLTemplateProcessor.makeSimpleHashWithEntitylistInfos(list);
//first we try to get the images
- SimpleList itemList = HTMLTemplateProcessor.makeSimpleList(list);
+
if(list!=null){
for (int k=0; k < list.size();k++) {
currentContent = (EntityContent)list.elementAt(k);
}
}
}
-
+ SimpleList itemList = HTMLTemplateProcessor.makeSimpleList(list);
//process hashmap additional and add to mergedata
if (additional != null) {
Set set = additional.keySet();