Rev 1586 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1586 | Rev 1612 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | <%@ page import="jomm.dao.impl.AbstractDao" %> |
1 | <%@ page import="jomm.dao.impl.AbstractDao" %> |
2 | <%@ page import="pt.estgp.estgweb.Globals" %> |
- | |
3 | <%@ page import="pt.estgp.estgweb.domain.QuestionarioReportCursoFile" %> |
2 | <%@ page import="pt.estgp.estgweb.domain.QuestionarioReportCursoFile" %> |
4 | <%@ page import="pt.estgp.estgweb.domain.QuestionarioReportFile" %> |
3 | <%@ page import="pt.estgp.estgweb.domain.QuestionarioReportFile" %> |
5 | <%@ page import="pt.estgp.estgweb.domain.QuestionarioReportFileGroupCursosAno" %> |
4 | <%@ page import="pt.estgp.estgweb.domain.QuestionarioReportFileGroupCursosAno" %> |
6 | <%@ page import="pt.estgp.estgweb.domain.dao.DaoFactory" %> |
5 | <%@ page import="pt.estgp.estgweb.domain.dao.DaoFactory" %> |
- | 6 | <%@ page import="pt.estgp.estgweb.filters.filters.ResourceAccessControlQuestionariosReportBoardsPedagogicoFilter" %> |
|
7 | <%@ page import="java.util.Set" %> |
7 | <%@ page import="java.util.Set" %> |
8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
9 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
9 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> |
10 | <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> |
10 | <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> |
11 | <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> |
11 | <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> |
Line 126... | Line 126... | ||
126 | Set<QuestionarioReportFile> reports = reportGroup.getReportFiles(); |
126 | Set<QuestionarioReportFile> reports = reportGroup.getReportFiles(); |
127 | for(QuestionarioReportFile report: reports) |
127 | for(QuestionarioReportFile report: reports) |
128 | { |
128 | { |
129 | QuestionarioReportCursoFile cursoFile = (QuestionarioReportCursoFile) report; |
129 | QuestionarioReportCursoFile cursoFile = (QuestionarioReportCursoFile) report; |
130 | request.setAttribute("cursoFile",cursoFile); |
130 | request.setAttribute("cursoFile",cursoFile); |
131 | if(cursoFile.isActive() || UserSession.getUser().isSuperuserOrAdmin() || UserSession.getUser().hasRole(Globals.QUESTIONARIOS_ADMIN)) |
131 | if(cursoFile.isActive() || ResourceAccessControlQuestionariosReportBoardsPedagogicoFilter.canAccessResource(UserSession)) |
132 | { |
132 | { |
133 | %> |
133 | %> |
134 | <tr> |
134 | <tr> |
135 | <td>${cursoFile.entityCode}</td> |
135 | <td>${cursoFile.entityCode}</td> |
136 | <td>${cursoFile.tipoCurso}</td> |
136 | <td>${cursoFile.tipoCurso}</td> |