request.setAttribute("curricularCourseScopes", sortedScopes);
request.setAttribute("sortedScopes", sortedScopes);
    public ActionForward selectExecutionDegree(ActionMapping mapping, ActionForm actionForm,            HttpServletRequest request, HttpServletResponse response) throws FenixFilterException,            FenixServiceException {        IUserView userView = SessionUtils.getUserView(request);        DynaActionForm dynaActionForm = (DynaActionForm) actionForm;        Integer degreeCurricularPlanID = (Integer) dynaActionForm.get("degreeCurricularPlanID");        Integer executionYearID = (Integer) dynaActionForm.get("executionYearID");        Object[] argsScopes = { degreeCurricularPlanID, executionYearID };        Set<CurricularCourseScope> scopes = (Set<CurricularCourseScope>) ServiceUtils                .executeService(userView,                        "ReadActiveCurricularCourseScopesByDegreeCurricularPlanIDAndExecutionYearID",                        argsScopes);                SortedSet<CurricularCourseScope> sortedScopes = new TreeSet<CurricularCourseScope>(CurricularCourseScope.CURRICULAR_COURSE_NAME_COMPARATOR);        sortedScopes.addAll(scopes);        Object[] argsExecutionYear = { executionYearID };        InfoExecutionYear infoExecutionYear = (InfoExecutionYear) ServiceUtils.executeService(userView,                "ReadExecutionYearByID", argsExecutionYear);        request.setAttribute("curricularCourseScopes", sortedScopes);        request.setAttribute("executionYear", infoExecutionYear.getYear());        return mapping.findForward("chooseExecutionCourse");    }