merging in http://svn.mannlib.cornell.edu/svn/vitro/branches/iu-vis-vitro-1.1-pre-release from r4966 to r5166
This commit is contained in:
commit
0d09bcf546
56 changed files with 9118 additions and 1 deletions
46
webapp/web/templates/page/blankPage.jsp
Normal file
46
webapp/web/templates/page/blankPage.jsp
Normal file
|
@ -0,0 +1,46 @@
|
|||
<%@ taglib uri="http://java.sun.com/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
|
||||
"portalBean" - PortalBean object for request.
|
||||
|
||||
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( request.getAttribute("portalBean") == null){
|
||||
e+="basicPage.jsp expects that request attribute 'portalBean' be set.\n";
|
||||
}
|
||||
if( request.getAttribute("appBean") == null){
|
||||
e+="basicPage.jsp expects that request attribute 'appBean' be set.\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}"/>
|
Loading…
Add table
Add a link
Reference in a new issue