%@ page language="java" %>
<%@ page import="net.sourceforge.fenixedu.domain.organizationalStructure.Unit" %>
<%@ page import="net.sourceforge.fenixedu.domain.RootDomainObject" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/fenix-renderers.tld" prefix="fr"%>
<%
Integer departmentUnitId;
Unit unit = (Unit) request.getAttribute("unit");
if (unit == null) {
departmentUnitId = new Integer(request.getParameter("selectedDepartmentUnitID"));
unit = (Unit) RootDomainObject.getInstance().readPartyByOID(departmentUnitId);
request.setAttribute("unit", unit);
}
%>