infoExecutionCourse = (InfoExecutionCourseEditor) ServiceManagerServiceFactory.executeService(
infoExecutionCourse = (InfoExecutionCourse) ServiceManagerServiceFactory.executeService(
    public ActionForward updateExecutionCourse(ActionMapping mapping, ActionForm actionForm,            HttpServletRequest request, HttpServletResponse response) throws Exception {        IUserView userView = (IUserView) request.getSession(false).getAttribute(SessionConstants.U_VIEW);        getAndSetStringToRequest(request, "executionCourseId");        separateLabel(actionForm, request, "executionPeriod", "executionPeriodId", "executionPeriodName");        DynaActionForm executionCourseForm = (DynaValidatorForm) actionForm;        Boolean executionCoursesNotLinked = (Boolean) executionCourseForm                .get("executionCoursesNotLinked");        if (executionCoursesNotLinked == null || executionCoursesNotLinked.equals(Boolean.FALSE)) {            separateLabel(actionForm, request, "executionDegree", "executionDegreeId",                    "executionDegreeName");            String curYear = getAndSetStringToRequest(request, "curYear");            executionCourseForm.set("curYear", curYear);        } else {            executionCourseForm.set("executionCoursesNotLinked", executionCoursesNotLinked);        }        InfoExecutionCourseEditor infoExecutionCourse = fillInfoExecutionCourseFromForm(actionForm, request);        Object args[] = { infoExecutionCourse };        try {            infoExecutionCourse = (InfoExecutionCourseEditor) ServiceManagerServiceFactory.executeService(                    userView, "EditExecutionCourseByManager", args);        } catch (FenixServiceException e) {            e.printStackTrace();            throw new FenixActionException(e.getMessage());        }        if (infoExecutionCourse.getAssociatedInfoCurricularCourses() != null) {            Collections.sort(infoExecutionCourse.getAssociatedInfoCurricularCourses(),                    new BeanComparator("name"));        }        request.setAttribute(SessionConstants.EXECUTION_COURSE, infoExecutionCourse);        return mapping.findForward("viewExecutionCourse");    }