aboutsummaryrefslogtreecommitdiff
path: root/webapp/jsp/verifylist.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/verifylist.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/verifylist.jsp')
-rw-r--r--webapp/jsp/verifylist.jsp96
1 files changed, 96 insertions, 0 deletions
diff --git a/webapp/jsp/verifylist.jsp b/webapp/jsp/verifylist.jsp
new file mode 100644
index 0000000..b041c02
--- /dev/null
+++ b/webapp/jsp/verifylist.jsp
@@ -0,0 +1,96 @@
+<%@ 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;
+
+%>
+<!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" />
+</head>
+<body>
+<div class="maindiv">
+<h1>PDF-AS Amtssignaturen</h1>
+<div class="mainframe">
+<%
+ if (signature_holders.size() > 1)
+ {
+%>
+<div class="mainheadline">Extrahierte Signaturen</div>
+<%
+ }
+ else
+ {
+%>
+<div class="mainheadline">Extrahierte Signatur</div>
+<%
+ }
+%>
+
+
+<div class="contentsdiv">
+
+
+<%
+ for (int i = 0; i < signature_holders.size(); i++)
+ {
+ SignatureHolder holder = (SignatureHolder) signature_holders.get(i);
+%>
+
+
+<%= VerifyPreviewServlet.renderRequiredKeysText(holder.getSignatureObject()) %>
+
+<form action="<%= response.encodeURL(request.getContextPath() + "/VerifyPreview") %>"
+ accept-charset="UTF-8"
+ style="float:left;"
+ method="get"
+ target="_blank">
+<input type="hidden" name="<%= FormFields.FIELD_VERIFY_WHICH %>" value="<%= i %>" />
+<input type="hidden" name="<%= FormFields.FIELD_PREVIEW %>" value="false" />
+
+<input class="button" type="submit" value="Nur diese Signatur pr&uuml;fen" />
+</form>
+
+<form action="<%= response.encodeURL(request.getContextPath() + "/VerifyPreview") %>"
+ accept-charset="UTF-8"
+ method="get"
+ style="float:left;"
+ target="_blank">
+<input type="hidden" name="<%= FormFields.FIELD_VERIFY_WHICH %>" value="<%= i %>" />
+<input type="hidden" name="<%= FormFields.FIELD_PREVIEW %>" value="true" />
+
+<input class="button" type="submit" value="Vorschau..." />
+</form>
+
+<hr style="clear:both;" />
+
+<%
+ }
+%>
+
+<form action="<%= response.encodeURL(request.getContextPath() + "/VerifyPreview") %>"
+ accept-charset="UTF-8"
+ method="get">
+<input type="hidden" name="<%= FormFields.FIELD_VERIFY_WHICH %>" value="<%= FormFields.VALUE_VERIFY_WHICH_ALL %>" />
+<input type="hidden" name="<%= FormFields.FIELD_PREVIEW %>" value="false" />
+
+<input class="button" type="submit" value="Alle pr&uuml;fen" />
+</form>
+
+
+</div>
+
+</div>
+<a class="big" href="/pdf-as/">zur&uuml;ck</a>
+</div>
+</body>
+</html> \ No newline at end of file