aboutsummaryrefslogtreecommitdiff
path: root/webapp/jsp/verifypreview.jsp
diff options
context:
space:
mode:
authorknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-05-17 15:25:10 +0000
committerknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-05-17 15:25:10 +0000
commit0184c140614b99a5037cbd8f969b7512888cd37d (patch)
tree9f2f3ea1edf14e05df735a4ebe9402e3f5e00d6c /webapp/jsp/verifypreview.jsp
parenta3ecdb4630518b8dc00d0183bed435d8131b578c (diff)
downloadpdf-as-3-0184c140614b99a5037cbd8f969b7512888cd37d.tar.gz
pdf-as-3-0184c140614b99a5037cbd8f969b7512888cd37d.tar.bz2
pdf-as-3-0184c140614b99a5037cbd8f969b7512888cd37d.zip
webapp
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@86 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'webapp/jsp/verifypreview.jsp')
-rw-r--r--webapp/jsp/verifypreview.jsp72
1 files changed, 72 insertions, 0 deletions
diff --git a/webapp/jsp/verifypreview.jsp b/webapp/jsp/verifypreview.jsp
new file mode 100644
index 0000000..cd4549c
--- /dev/null
+++ b/webapp/jsp/verifypreview.jsp
@@ -0,0 +1,72 @@
+<%@ page contentType="text/html; charset=UTF-8" %>
+<%@ page import="java.util.List" %>
+<%@ page import="at.knowcenter.wag.egov.egiz.pdf.SignatureHolder" %>
+<%@ page import="at.knowcenter.wag.egov.egiz.web.FormFields" %>
+<%@ page import="at.knowcenter.wag.egov.egiz.web.SessionAttributes" %>
+<%@ page import="at.knowcenter.wag.egov.egiz.web.SessionInformation" %>
+<%@ page import="at.knowcenter.wag.egov.egiz.web.servlets.VerifyPreviewServlet" %>
+<%
+ SessionInformation si = (SessionInformation) request.getSession(false).getAttribute(SessionAttributes.ATTRIBUTE_SESSION_INFORMATION);
+ List signature_holders = si.signature_holders;
+ Integer ver_wh = (Integer) request.getAttribute(FormFields.FIELD_VERIFY_WHICH);
+ int verify_which = ver_wh.intValue();
+ SignatureHolder signature_holder = (SignatureHolder) signature_holders.get(verify_which);
+%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>PDF-AS Amtssignaturen Vorschau</title>
+<link rel="stylesheet" type="text/css" href="/pdf-as/css/styles.css" />
+
+<script type="text/javascript">
+ function initSigValues()
+ {
+<%= VerifyPreviewServlet.renderRequiredKeysJavaScript(signature_holder.getSignatureObject(), "") %>
+ }
+</script>
+
+</head>
+
+<body onload="initSigValues()">
+<div class="maindiv">
+
+<h1>PDF-AS Amtssignaturen</h1>
+
+<div class="mainframe">
+<div class="mainheadline">Vorschau: Dokument Pr&uuml;fen</div>
+
+<form action="<%= response.encodeURL(request.getContextPath() + "/VerifyPreview") %>"
+ name="submitform"
+ enctype="multipart/form-data"
+ accept-charset="UTF-8"
+ method="post">
+<div class="contentsdiv">
+
+
+<input type="hidden" name="<%= FormFields.FIELD_VERIFY_WHICH %>" value="<%= verify_which %>" />
+
+<div>Rekonstruktion der Signaturmarke:</div>
+<textarea class="previewfield" cols="80" rows="14" name="<%= FormFields.FIELD_RAW_DOCUMENT_TEXT %>"><%= signature_holder.getSignedText() %></textarea>
+
+<%= VerifyPreviewServlet.renderRequiredKeys(signature_holder.getSignatureObject(), "", false) %>
+
+<br />
+
+<input type="hidden" name="verify" value="false" />
+
+<input class="button" type="submit" value="Werte &uuml;bernehmen" />
+
+<input class="button" type="submit" value="Werte &uuml;bernehmen und pr&uuml;fen" onclick="document.submitform.verify.value='true'" />
+
+<input class="button" type="submit" value="Abbrechen" onclick="window.close()" />
+
+</div>
+</form>
+
+</div>
+<!--<a class=\"big\" href="/pdf-as" onclick="window.close()">zur&uuml;ck</a>-->
+</div>
+</body>
+
+</html>