%-- The contents of this file are subject to the license and copyright detailed in the LICENSE and NOTICE files at the root of the source tree and available online at http://www.dspace.org/license/ --%> <%-- - Sample Review JSP - - This is a sample JSP that works in conjuction with - the org.dspace.submit.step.SampleStep class - - This JSP is meant to be a template for similar review JSPs. - - Parameters to pass in to this page (from review.jsp) - submission.jump - the step and page number (e.g. stepNum.pageNum) to create a "jump-to" link --%> <%@ page contentType="text/html;charset=UTF-8" %> <%@ page import="org.dspace.app.webui.servlet.SubmissionController" %> <%@ page import="org.dspace.app.util.SubmissionInfo" %> <%@ page import="org.dspace.app.webui.util.UIUtil" %> <%@ page import="org.dspace.core.Context" %> <%@ page import="javax.servlet.jsp.jstl.fmt.LocaleSupport" %> <%@ page import="javax.servlet.jsp.PageContext" %> <%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <% request.setAttribute("LanguageSwitch", "hide"); // Obtain DSpace context Context context = UIUtil.obtainContext(request); //get submission information object SubmissionInfo subInfo = SubmissionController.getSubmissionInfo(context, request); //get the step number (for jump-to link) String stepJump = (String) request.getParameter("submission.jump"); %> <%-- ====================================================== --%> <%-- SAMPLE REVIEW PAGE --%> <%-- ====================================================== --%>
A review JSP creates the review section for a single Step in the submission process. In this case, this review section is for the Sample Step. A review JSP should consist of a single table, which contains two main columns:
To see sample code, please visit the JSP which built this review section. This JSP is located at /jsp/submit/sample-review.jsp |
" /> |