<%@ 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" %> <% net.sourceforge.fenixedu.presentationTier.servlets.filters.functionalities.FilterFunctionalityContext currentContext = (net.sourceforge.fenixedu.presentationTier.servlets.filters.functionalities.FilterFunctionalityContext) net.sourceforge.fenixedu.domain.functionalities.AbstractFunctionalityContext.getCurrentContext(request); net.sourceforge.fenixedu.domain.DegreeSite selectedContainer = (net.sourceforge.fenixedu.domain.DegreeSite) currentContext.getSelectedContainer(); net.sourceforge.fenixedu.domain.Degree degree = selectedContainer.getDegree(); if (degree != null) { request.setAttribute("site", degree.getSite()); } %>