<%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> <%@ taglib uri="/WEB-INF/enum.tld" prefix="e"%> <%@ page import="java.util.List" %> <%@ page import="net.sourceforge.fenixedu.domain.teacher.TeacherMasterDegreeService" %> <%@ page import="net.sourceforge.fenixedu.domain.teacher.TeacherService" %>

:
:

<% int totalRowSpan = masterDegreeCreditsDTO.getTotalRowSpan(); %> <%-- Course Name --%> <%-- Curricular Course Type --%> <%-- Credits --%> <%-- Semesters --%> <% int numOfProfessorshipsInExecutionPeriod = executionPeriod.getNumberOfProfessorships(curricularCorse); int executionPeriodRowSpan = numOfProfessorshipsInExecutionPeriod == 0 ? 1 : numOfProfessorshipsInExecutionPeriod; %> <% String isLastCellDone = "false"; request.setAttribute("isLastCellDone", isLastCellDone); %> <% int numOfProfessorships = executionCourse.getProfessorshipsCount() == 0 ? 1 : executionCourse.getProfessorshipsCount(); %> <%-- Execution Code --%> <%-- Number of Enrolments --%> <%-- Number of first Enrolments --%> <% TeacherService teacherService = teacher.getTeacherServiceByExecutionPeriod(executionCourse.getExecutionPeriod()); TeacherMasterDegreeService masterDegreeService = null; if(teacherService != null){ masterDegreeService = teacherService.getMasterDegreeServiceByProfessorship(professorship); request.setAttribute("masterDegreeService",masterDegreeService); } else { request.setAttribute("masterDegreeService",null); } %> <% hoursMap.put(professorship.getIdInternal().toString(), masterDegreeService.getHours()); creditsMap.put(professorship.getIdInternal().toString(), masterDegreeService.getCredits()); %> hoursMap()creditsMap() <% request.setAttribute("isLastCellDone","true"); %>