public ActionForward prepareCurriculumValidation( ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) { StudentCurricularPlan studentCurricularPlan = readStudentCurricularPlan(request); request.setAttribute( "studentCurriculumValidationAllowed", PreBolognaEvaluationManagement.getEvaluationForCurriculumValidationAllowed( studentCurricularPlan)); return mapping.findForward("show-curriculum-validation-options"); }
@Override public ActionForward execute( ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { StudentCurricularPlan studentCurricularPlan = readStudentCurricularPlan(request); if (studentCurricularPlan != null) { request.setAttribute( "studentCurriculumValidationAllowed", PreBolognaEvaluationManagement.getEvaluationForCurriculumValidationAllowed( studentCurricularPlan)); } return super.execute(mapping, actionForm, request, response); }