public Degree getDegreeAndSelectSite() {
   Degree degree = getDegreeCurricularPlan().getDegree();
   if (degree != null) {
     OldCmsSemanticURLHandler.selectSite(getRequest(), degree.getSite());
   }
   return degree;
 }
예제 #2
0
 protected void setUnitContext(HttpServletRequest request) {
   Unit unit = getUnit(request);
   if (unit != null) {
     request.setAttribute("unit", unit);
     request.setAttribute("site", unit.getSite());
     OldCmsSemanticURLHandler.selectSite(request, unit.getSite());
   }
 }
 public DepartmentUnit getDepartmentAndSelectSite() {
   DepartmentUnit department = getDepartmentUnit();
   if (department == null) {
     department =
         FenixFramework.getDomainObject(getAndHoldStringParameter("selectedDepartmentUnitID"));
   }
   if (department != null) {
     OldCmsSemanticURLHandler.selectSite(getRequest(), department.getSite());
   }
   return department;
 }