<%@ page language="java" %> <%@ page import="net.sourceforge.fenixedu.domain.RootDomainObject" %> <%@ page import="net.sourceforge.fenixedu.domain.Degree" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/WEB-INF/fenix-renderers.tld" prefix="fr" %> <% Integer degreeID = (Integer) request.getAttribute("degreeID"); if (degreeID == null) { degreeID = Integer.valueOf(request.getParameter("degreeID")); } String aditionalParameter = ""; if (request.getAttribute("executionDegreeID") != null) { Object executionDegreeID = request.getAttribute("executionDegreeID"); aditionalParameter = (executionDegreeID != null) ? "&executionDegreeID=" + executionDegreeID.toString() : ""; } Degree degree = RootDomainObject.getInstance().readDegreeByOID(degreeID); if (degree != null) { request.setAttribute("site", degree.getSite()); } %> "/> <%-- because some parts are implemented with faces --%>