From 29ad090c29567ff1a4d3a2ec9b8ad0b5d80ee24d Mon Sep 17 00:00:00 2001 From: pdanner Date: Mon, 6 Dec 2010 16:34:52 +0000 Subject: git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@671 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- pdf-as-web/src/main/webapp/jsp/verifypreview.jsp | 60 ++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 pdf-as-web/src/main/webapp/jsp/verifypreview.jsp (limited to 'pdf-as-web/src/main/webapp/jsp/verifypreview.jsp') diff --git a/pdf-as-web/src/main/webapp/jsp/verifypreview.jsp b/pdf-as-web/src/main/webapp/jsp/verifypreview.jsp new file mode 100644 index 0000000..a65aa4e --- /dev/null +++ b/pdf-as-web/src/main/webapp/jsp/verifypreview.jsp @@ -0,0 +1,60 @@ +<%@page import="at.gv.egiz.pdfas.api.commons.SignatureInformation"%> +<%@page import="at.gv.egiz.pdfas.web.servlets.VerifyPreviewServlet"%> +<%@page import="at.gv.egiz.pdfas.web.FormFields"%> +<%@page import="at.gv.egiz.pdfas.web.session.VerifySessionInformation"%> +<%@ page contentType="text/html; charset=UTF-8" %> +<%@ page errorPage="error_verify.jsp" %> +<%@ page import="java.util.List" %> +<%@ page import="at.gv.egiz.pdfas.web.helper.SessionHelper"%> +<%@ include file="language.jsp" %> +<% + String btlurl = (String)request.getAttribute("btlurl"); + + VerifySessionInformation si = (VerifySessionInformation) SessionHelper.getSession(request); + + List signature_holders = si.analyzeResult.getSignatures(); + Integer ver_wh = (Integer) request.getAttribute(FormFields.FIELD_VERIFY_WHICH); + int verify_which = ver_wh.intValue(); + SignatureInformation signatureInfo = (SignatureInformation) signature_holders.get(verify_which); + String signedText = (String)request.getAttribute(FormFields.FIELD_SIGNED_TEXT); +%> + + + + <fmt:message key="common.title"/> + + + +

+

+
" + name="submitform" + enctype="multipart/form-data" + accept-charset="UTF-8" + method="post"> + +
+
+ + <%= VerifyPreviewServlet.renderRequiredKeys(getServletContext(), signatureInfo, "", false) %> +
+ + " /> + " onclick="document.submitform.verify.value='true'" /> +
+
+ + + + + -- cgit v1.2.3