throw new OLATRuntimeException(DialogElementsController.class, "Error while adding new 'file discussion' element with filename: "+filename, e);
}
}
} else if (source == confirmDeletionCtr) {
if (DialogBoxUIFactory.isYesEvent(event)) {
DialogCourseNode node = (DialogCourseNode) courseNode;
// archive data to personal folder
node.doArchiveElement(selectedElement, CourseFactory.getOrCreateDataExportDirectory(ureq.getIdentity(), node.getShortTitle()));
// delete element
dialogElmsMgr.deleteDialogElement(coursePropMgr, courseNode, selectedElement.getForumKey());
forumMgr.deleteForum(selectedElement.getForumKey());
showOverviewTable(ureq, forumCallback);
content.contextPut("hasSelectedElement", Boolean.FALSE);