Removed Portal class and almost everything related to portals and flags for NIHVIVO-2248
This commit is contained in:
parent
de5c5ff7de
commit
eb00f1cd43
189 changed files with 928 additions and 6859 deletions
|
@ -5,19 +5,14 @@
|
|||
<%@ page import="com.oreilly.servlet.ServletUtils,edu.cornell.mannlib.vitro.webapp.web.*" %>
|
||||
<%@page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest"%>
|
||||
<%@page import="edu.cornell.mannlib.vitro.webapp.beans.ApplicationBean"%>
|
||||
<%@page import="edu.cornell.mannlib.vitro.webapp.beans.Portal"%>
|
||||
<%
|
||||
VitroRequest vreq = new VitroRequest(request);
|
||||
ApplicationBean appBean = vreq.getAppBean();
|
||||
Portal portal = vreq.getPortal();
|
||||
|
||||
String themeDir = portal!=null ? portal.getThemeDir() : Portal.DEFAULT_THEME_DIR_FROM_CONTEXT;
|
||||
|
||||
String themeDir = appBean.getThemeDir();
|
||||
|
||||
request.setAttribute("bodyJsp", "/errorbody.jsp");
|
||||
request.setAttribute("title", "Error");
|
||||
request.setAttribute("css", "");
|
||||
request.setAttribute("portalBean", portal);
|
||||
request.setAttribute("appBean", appBean);
|
||||
request.setAttribute("themeDir", themeDir);
|
||||
%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue