<%@ page contentType="text/html; charset=UTF-8" %> <%@ page import="java.util.List" %> <%@ page errorPage="error_verify.jsp" %> <%@ 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"%> <%@ include file="language.jsp" %> <% 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><fmt:message key="common.title"/></title> </head> <body> <h1><fmt:message key="common.title"/></h1> <% if (signature_holders.size() > 1) { %> <h2><fmt:message key="verifylist.heading2.plural"/></h2> <% } else { %> <h2><fmt:message key="verifylist.heading2.singular"/></h2> <% } %> <% for (int i = 0; i < signature_holders.size(); i++) { SignatureHolder holder = (SignatureHolder) signature_holders.get(i); %> <div class="pdfasverticalspace"></div> <div class="pdfaslisttablecontainer"> <%= 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 type="submit" value="<fmt:message key="verifylist.button.verifysinglesignature"/>" /> </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 type="submit" value="<fmt:message key="verifylist.button.preview"/>" /> </form> </div> <% } %> <div class="pdfasverticalspace"></div> <div class="pdfasverticalspace"></div> <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 type="submit" value="<fmt:message key="verifylist.button.verifyallsignatures"/>" /> </form> <div class="pdfasverticalspace"></div> <a href="<%= request.getContextPath() %>/jsp/verifyupload.jsp"><fmt:message key="common.back"/></a> </body> </html>