RequestUtils.getAndSetStringToRequest(request, "executionCourseName");
//FIXME: executionPeriod might not be needed (present in exec course)
//processing attributes
String degreeCurricularPlanId = RequestUtils.getAndSetStringToRequest(request, "degreeCurricularPlanId");
DegreeCurricularPlan degreeCurricularPlan = null;
if (!StringUtils.isEmpty(degreeCurricularPlanId)) {
degreeCurricularPlan = FenixFramework.getDomainObject(degreeCurricularPlanId);
}
try {
if (degreeCurricularPlan == null) {
throw new DomainException("error.selection.noDegree");
}
request.setAttribute("degreeCurricularPlanName",
degreeCurricularPlan.getPresentationName(executionPeriod.getExecutionYear()));
request.setAttribute("degreeCurricularPlan", degreeCurricularPlan);
String executionCourseId = RequestUtils.getAndSetStringToRequest(request, "executionCourseId");
final ExecutionCourse executionCourse = FenixFramework.getDomainObject(executionCourseId);
final ExecutionSemester executionSemester = executionCourse.getExecutionPeriod();
final List<InfoCurricularCourse> infoCurricularCourses = new ArrayList<InfoCurricularCourse>();