@Override protected void event(final UserRequest ureq, final Controller source, final Event event) { if (source == accessibilityCondContr) { if (event == Event.CHANGED_EVENT) { final Condition cond = accessibilityCondContr.getCondition(); courseNode.setPreConditionAccess(cond); fireEvent(ureq, NodeEditController.NODECONFIG_CHANGED_EVENT); } } else if (source == configForm) { if (event == Event.DONE_EVENT) { configForm.getUpdatedConfig(); fireEvent(ureq, NodeEditController.NODECONFIG_CHANGED_EVENT); } } else if (source == textForm) { if (event == Event.DONE_EVENT) { textForm.getUpdatedConfig(); configForm.setDirtyFromOtherForm(false); fireEvent(ureq, NodeEditController.NODECONFIG_CHANGED_EVENT); } else if (event == Event.CHANGED_EVENT) { // disable modification in other forms! configForm.setDirtyFromOtherForm(true); } } else if (source == scoringController) { if (event == Event.CANCELLED_EVENT) { if (hasLogEntries) { scoringController.setDisplayOnly(true); } configContent.contextPut("isOverwriting", new Boolean(false)); return; } else if (event == Event.DONE_EVENT) { scoringController.updateModuleConfiguration(config); fireEvent(ureq, NodeEditController.NODECONFIG_CHANGED_EVENT); } } }