request.setAttribute("index", indexValue);
// degreeID
String degreeId = (String) chooseExamContextoForm.get("degreeID");
request.setAttribute("degreeID", degreeId);
final Degree degree = FenixFramework.getDomainObject(degreeId);
request.setAttribute("degree", degree);
// curricularYearList
final Boolean selectAllCurricularYears = (Boolean) chooseExamContextoForm.get("selectAllCurricularYears");
final List<Integer> curricularYears = buildCurricularYearList(selectAllCurricularYears, degree, chooseExamContextoForm);
request.setAttribute("curricularYearList", curricularYears);
// degreeCurricularPlanID
String degreeCurricularPlanId = getFromRequest("degreeCurricularPlanID", request);
final DegreeCurricularPlan degreeCurricularPlan;
if (StringUtils.isEmpty(degreeCurricularPlanId)) {
degreeCurricularPlan = degree.getMostRecentDegreeCurricularPlan();
} else {
degreeCurricularPlan = FenixFramework.getDomainObject(degreeCurricularPlanId);
}
if (degreeCurricularPlan != null) {