<%@ 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ü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 übernehmen" /> <input class="button" type="submit" value="Werte übernehmen und prü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ück</a>--> </div> </body> </html>