Normalize line endings VIVO-101
This commit is contained in:
parent
b097a4d754
commit
54f79f2ea7
587 changed files with 91501 additions and 91501 deletions
|
@ -1,41 +1,41 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<% /***********************************************
|
||||
Display a single Page in the most basic fashion.
|
||||
The html <HEAD> 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 <script> elements to be included in the page
|
||||
"bodyAttr" - optional attributes for the <body> tag, e.g. 'onload': use leading space
|
||||
|
||||
Consider sticking < % = MiscWebUtils.getReqInfo(request) % > in the html output
|
||||
for debugging info.
|
||||
|
||||
bdc34 2006-02-03 created
|
||||
**********************************************/
|
||||
/*
|
||||
String e = "";
|
||||
if (request.getAttribute("bodyJsp") == null){
|
||||
e+="basicPage.jsp expects that request parameter 'bodyJsp' be set to the jsp to display as the page body.\n";
|
||||
}
|
||||
if (request.getAttribute("title") == null){
|
||||
e+="basicPage.jsp expects that request parameter 'title' be set to the title to use for page.\n";
|
||||
}
|
||||
if (request.getAttribute("css") == null){
|
||||
e+="basicPage.jsp expects that request parameter 'css' be set to css to include in page.\n";
|
||||
}
|
||||
if( e.length() > 0 ){
|
||||
throw new JspException(e);
|
||||
}
|
||||
*/
|
||||
%>
|
||||
|
||||
<c:set var="bodyJsp"><c:out value="${requestScope.bodyJsp}" default="/debug.jsp"/></c:set>
|
||||
<c:import url="${bodyJsp}"/>
|
||||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<% /***********************************************
|
||||
Display a single Page in the most basic fashion.
|
||||
The html <HEAD> 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 <script> elements to be included in the page
|
||||
"bodyAttr" - optional attributes for the <body> tag, e.g. 'onload': use leading space
|
||||
|
||||
Consider sticking < % = MiscWebUtils.getReqInfo(request) % > in the html output
|
||||
for debugging info.
|
||||
|
||||
bdc34 2006-02-03 created
|
||||
**********************************************/
|
||||
/*
|
||||
String e = "";
|
||||
if (request.getAttribute("bodyJsp") == null){
|
||||
e+="basicPage.jsp expects that request parameter 'bodyJsp' be set to the jsp to display as the page body.\n";
|
||||
}
|
||||
if (request.getAttribute("title") == null){
|
||||
e+="basicPage.jsp expects that request parameter 'title' be set to the title to use for page.\n";
|
||||
}
|
||||
if (request.getAttribute("css") == null){
|
||||
e+="basicPage.jsp expects that request parameter 'css' be set to css to include in page.\n";
|
||||
}
|
||||
if( e.length() > 0 ){
|
||||
throw new JspException(e);
|
||||
}
|
||||
*/
|
||||
%>
|
||||
|
||||
<c:set var="bodyJsp"><c:out value="${requestScope.bodyJsp}" default="/debug.jsp"/></c:set>
|
||||
<c:import url="${bodyJsp}"/>
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.MiscWebUtils" %>
|
||||
<% /***********************************************
|
||||
debug.jsp will just display the request info in a div.
|
||||
|
||||
It is uesful to use at the body jsp for a new controller before
|
||||
you have writen the jsp that you intend to use.
|
||||
|
||||
bdc34 2006-02-06
|
||||
**********************************************/
|
||||
%>
|
||||
<div class='debug'>
|
||||
<%= MiscWebUtils.getReqInfo(request) %>
|
||||
</div>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.MiscWebUtils" %>
|
||||
<% /***********************************************
|
||||
debug.jsp will just display the request info in a div.
|
||||
|
||||
It is uesful to use at the body jsp for a new controller before
|
||||
you have writen the jsp that you intend to use.
|
||||
|
||||
bdc34 2006-02-06
|
||||
**********************************************/
|
||||
%>
|
||||
<div class='debug'>
|
||||
<%= MiscWebUtils.getReqInfo(request) %>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue