<%@ 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" %> <%@ page import="java.util.TreeMap" %> <%@ page import="java.util.Map" %> <%@ page import="net.sourceforge.fenixedu.dataTransferObject.InfoGrouping" %> <%@ page import="net.sourceforge.fenixedu.dataTransferObject.InfoGroupProjectStudents" %> <%@ page import="java.util.Iterator" %> <%@ page import="java.util.Calendar" %> <%@ page import="net.sourceforge.fenixedu.dataTransferObject.InfoLesson" %>
 

<% int shiftColSpan=0; %> <% shiftColSpan=shiftColSpan+1; %> <% shiftColSpan=shiftColSpan+1; %> <% shiftColSpan=shiftColSpan+1; %> <% shiftColSpan=shiftColSpan+1; %> <% Integer shiftColSpanInteger = new Integer(shiftColSpan); %> <% if (shiftColSpan>0) {%> <% }%> <% for (Iterator projectsIterator= projects.iterator(); projectsIterator.hasNext();) { InfoGrouping element= (InfoGrouping) projectsIterator.next(); int projectIdInternal = element.getIdInternal().intValue(); int groupNumber =-1; int shiftCode = -1; int executionCourseCode = -1; int groupPropertiesCode = -1; int studentGroupCode = -1; Integer studentNumber = attendacy.getAluno().getNumber(); for (Iterator groupsIterator= infosGroups.iterator(); groupsIterator.hasNext();) { InfoGroupProjectStudents groupInfo= (InfoGroupProjectStudents) groupsIterator.next(); if (projectIdInternal == groupInfo.getStudentGroup().getInfoGrouping().getIdInternal().intValue() && groupInfo.isStudentMemberOfThisGroup(studentNumber)) { groupNumber = groupInfo.getStudentGroup().getGroupNumber().intValue(); studentGroupCode = groupInfo.getStudentGroup().getIdInternal().intValue(); shiftCode = groupInfo.getStudentGroup().getInfoShift().getIdInternal().intValue(); executionCourseCode = groupInfo.getStudentGroup().getInfoShift().getInfoDisciplinaExecucao().getIdInternal().intValue(); break; } } %> <% } %>

<%=studentsComponent.getStudents().size()%>

<%Map spreadSheetArgs = new TreeMap(request.getParameterMap()); request.setAttribute("spreadSheetArgs",spreadSheetArgs);%>

 -  -   


Turnos
<%--   --%> Teórico Prático Teórico-Prático Laboratorial
  <%-- --%> N/A "> <% shortName = attendacy.getAluno().getInfoPerson().getNome(); String[] names = shortName.split(" "); String firstName = names[0]; String lastName = names[names.length-1]; shortName = firstName + " " + lastName; out.print(shortName); %> <%request.setAttribute("parameters",new TreeMap());%> <% if (groupNumber != -1) { parameters.put("shiftCode",new Integer(shiftCode)); parameters.put("studentGroupCode",new Integer(studentGroupCode)); parameters.put("method","viewStudentGroupInformation"); parameters.put("objectCode",new Integer(executionCourseCode)); parameters.put("groupPropertiesCode",new Integer(projectIdInternal)); %> <% out.print(groupNumber); %> <% } else out.print("N/A"); %>   "> <% if (((net.sourceforge.fenixedu.dataTransferObject.InfoShift)map.get("T"))==null) { out.print("N/A"); } else { out.print(((net.sourceforge.fenixedu.dataTransferObject.InfoShift)map.get("T")).getNome()); } %> <% if (((net.sourceforge.fenixedu.dataTransferObject.InfoShift)map.get("P"))==null) { out.print("N/A"); } else { out.print(((net.sourceforge.fenixedu.dataTransferObject.InfoShift)map.get("P")).getNome()); } %> <% if (((net.sourceforge.fenixedu.dataTransferObject.InfoShift)map.get("TP"))==null) { out.print("N/A"); } else { out.print(((net.sourceforge.fenixedu.dataTransferObject.InfoShift)map.get("TP")).getNome()); } %> <% if (((net.sourceforge.fenixedu.dataTransferObject.InfoShift)map.get("L"))==null) { out.print("N/A"); } else { out.print(((net.sourceforge.fenixedu.dataTransferObject.InfoShift)map.get("L")).getNome()); } %>


Resumo:
Número de inscrições Número de Alunos
<%= ((net.sourceforge.fenixedu.dataTransferObject.InfoAttendsSummary)pageContext.findAttribute("attendsSummary")).getEnrollmentDistribution().get(enrollmentNumber).toString() %>