<%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@page import="net.sourceforge.fenixedu._development.PropertiesManager"%> <%@page import="java.util.HashMap"%> <%@page import="java.util.Map"%> <%@page import="java.net.URLEncoder"%> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/fenix-renderers.tld" prefix="fr"%>

  • Resultados da UC ()


<% String port = request.getServerPort() == 80 || request.getServerPort() == 443 ? "" : ":" + request.getServerPort(); String value = request.getScheme() + "://" + request.getServerName() + port + request.getContextPath() + executionCourse.getSite().getReversePath() + "/resultados-quc"; session.setAttribute("ORIGINAL_REQUEST", Boolean.TRUE); session.setAttribute("ORIGINAL_URI", value); Map map = new HashMap(); map.put("service", value); session.setAttribute("ORIGINAL_PARAMETER_MAP", map); session.setAttribute("ORIGINAL_ATTRIBUTE_MAP", map); boolean isCasEnabled = PropertiesManager.getBooleanProperty("cas.enabled"); if (isCasEnabled) { String casValue = request.getScheme() + "://" + request.getServerName() + port + request.getContextPath() + "/loginCAS.do"; String urlSuffix = "?service=" + casValue; String loginPage = PropertiesManager.getProperty("cas.loginUrl") + urlSuffix; %> Login <% } else { String urlSuffix = "?service=" + value; String loginPage = PropertiesManager.getProperty("login.page") + urlSuffix; %> Login <% } %>