Package org.fenixedu.academic.ui.renderers.degreeStructure

Examples of org.fenixedu.academic.ui.renderers.degreeStructure.DegreeCurricularPlanRendererConfig


        return mapping.findForward("showPhdProgram");
    }

    private void initPhdProgramConfig(HttpServletRequest request, PhdProgram program) {

        final DegreeCurricularPlanRendererConfig config = new DegreeCurricularPlanRendererConfig();

        config.setDegreeCurricularPlan(program.getDegree().getLastActiveDegreeCurricularPlan());
        config.setExecutionInterval(ExecutionYear.readCurrentExecutionYear());
        config.setOrganizeBy(DegreeCurricularPlanRendererConfig.OrganizeType.GROUPS);
        config.setViewCurricularCourseUrl(getClass().getAnnotation(Mapping.class).path() + ".do");
        config.addViewCurricularCourseUrlParameter("method", "manageEnrolments");

        request.setAttribute("rendererConfig", config);
        request.setAttribute("phdProgram", program);
    }
View Full Code Here


    }

    public ActionForward changeDegreeCurricularPlanConfig(ActionMapping mapping, ActionForm actionForm,
            HttpServletRequest request, HttpServletResponse response) {

        final DegreeCurricularPlanRendererConfig config = getRenderedObject("rendererConfig");

        request.setAttribute("rendererConfig", config);
        request.setAttribute("phdProgram", config.getDegreeCurricularPlan().getDegree().getPhdProgram());

        return mapping.findForward("showPhdProgram");
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.ui.renderers.degreeStructure.DegreeCurricularPlanRendererConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.