locale = LanguageController.getController().getLocaleWithId(languageId);
if(slotName == null)
slotName = "";
PageEditorHelper peh = new PageEditorHelper();
String componentTasksDiv = peh.getComponentTasksDiv(db, principal, this.getRequest(), locale, repositoryId, siteNodeId, languageId, contentId, componentId, componentContentId, slotName, slotId, showSimple, originalFullURL, showLegend, targetDiv, slotClicked, treeItem);
tasksDiv.append(componentTasksDiv);
commitTransaction(db);
}
catch (Exception e)