From 7e4929541726c733d3d9177ffbe6406239d4a4a0 Mon Sep 17 00:00:00 2001 From: nac26 Date: Mon, 4 Oct 2010 17:20:03 +0000 Subject: [PATCH] Merge r1440 from rel-1.1-maint branch. Moving footer.jsp, identity.jsp, and menu.jsp so they are not tied to vivo-basic and can be used by any theme. --- productMods/templates/page/basicPage.jsp | 76 +++++++++++++++++++ .../page}/jsp/footer.jsp | 4 +- .../page}/jsp/identity.jsp | 4 +- .../page}/jsp/menu.jsp | 4 +- 4 files changed, 82 insertions(+), 6 deletions(-) create mode 100644 productMods/templates/page/basicPage.jsp rename productMods/{themes/vivo-basic => templates/page}/jsp/footer.jsp (83%) rename productMods/{themes/vivo-basic => templates/page}/jsp/identity.jsp (72%) rename productMods/{themes/vivo-basic => templates/page}/jsp/menu.jsp (88%) diff --git a/productMods/templates/page/basicPage.jsp b/productMods/templates/page/basicPage.jsp new file mode 100644 index 00000000..aa7d0cdc --- /dev/null +++ b/productMods/templates/page/basicPage.jsp @@ -0,0 +1,76 @@ +<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> + +<%@ page import="edu.cornell.mannlib.vitro.webapp.web.*" %> +<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest" %> +<%@ page import="edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory" %> +<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> +<%@ page errorPage="/error.jsp"%> +<%@ page contentType="text/html; charset=UTF-8"%> +<%@ page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep" %> + +<% /*********************************************** + Display a single Page in the most basic fashion. + The html is generated followed by the banners and menu. + After that the result of the jsp in the attribute bodyJsp is inserted. + Finally comes the footer. + + request.attributes: + "bodyJsp" - jsp of the body of this page. + "title" - title of page + "css" - optional additional css for page + "scripts" - optional name of file containing