CourseGroupManager groupMgr = course.getCourseEnvironment().getCourseGroupManager();
CourseEditorTreeModel editorModel = course.getEditorTreeModel();
// Reader precondition
Condition readerCondition = foNode.getPreConditionReader();
readerCondContr = new ConditionEditController(ureq, getWindowControl(), groupMgr, readerCondition, "readerConditionForm",
AssessmentHelper.getAssessableNodes(editorModel, forumNode), euce);
this.listenTo(readerCondContr);
myContent.put("readerCondition", readerCondContr.getInitialComponent());
// Poster precondition
Condition posterCondition = foNode.getPreConditionPoster();
posterCondContr = new ConditionEditController(ureq, getWindowControl(), groupMgr, posterCondition, "posterConditionForm",
AssessmentHelper.getAssessableNodes(editorModel, forumNode), euce);
this.listenTo(posterCondContr);
myContent.put("posterCondition", posterCondContr.getInitialComponent());
// Moderator precondition
Condition moderatorCondition = foNode.getPreConditionModerator();
moderatorCondContr = new ConditionEditController(ureq, getWindowControl(), groupMgr, moderatorCondition, "moderatorConditionForm",
AssessmentHelper.getAssessableNodes(editorModel, forumNode), euce);
this.listenTo(moderatorCondContr);
myContent.put("moderatorCondition", moderatorCondContr.getInitialComponent());
}