<%@ page contentType="text/html; charset=UTF-8" %> <%@ page errorPage="error.jsp" %> <%@ 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.servlets.VerifyPreviewServlet" %> <%@ page import="at.gv.egiz.pdfas.web.VerifySessionInformation" %> <%@ page import="at.gv.egiz.pdfas.web.helper.SessionHelper"%> <% VerifySessionInformation si = (VerifySessionInformation) SessionHelper.getSession(request); 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" method="get" style="float:left;"> <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üfen" /> </form> <form action="<%= response.encodeURL(request.getContextPath() + "/VerifyPreview") %>" accept-charset="UTF-8" method="get" style="float:left;"> <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üfen" /> </form> </div> </div> <a class="big" href="/pdf-as/">zurück</a> </div> </body> </html>