diff options
Diffstat (limited to 'webapp/jsp/verifypreview.jsp')
-rw-r--r-- | webapp/jsp/verifypreview.jsp | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/webapp/jsp/verifypreview.jsp b/webapp/jsp/verifypreview.jsp index 480dbf7..13cbd67 100644 --- a/webapp/jsp/verifypreview.jsp +++ b/webapp/jsp/verifypreview.jsp @@ -1,12 +1,18 @@ <%@ 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.pdf.TextualSignatureHolder" %>
<%@ 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" %>
+<%@ page import="at.gv.egiz.pdfas.web.VerifySessionInformation" %>
+<%@ page import="at.gv.egiz.pdfas.web.helper.SessionHelper"%>
<%
- SessionInformation si = (SessionInformation) request.getSession(false).getAttribute(SessionAttributes.ATTRIBUTE_SESSION_INFORMATION);
+ String btlurl = (String)request.getAttribute("btlurl");
+
+ VerifySessionInformation si = (VerifySessionInformation) SessionHelper.getSession(request);
+
List signature_holders = si.signature_holders;
Integer ver_wh = (Integer) request.getAttribute(FormFields.FIELD_VERIFY_WHICH);
int verify_which = ver_wh.intValue();
@@ -48,7 +54,7 @@ <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>
+<textarea class="previewfield" cols="80" rows="14" name="<%= FormFields.FIELD_RAW_DOCUMENT_TEXT %>"><%= ((TextualSignatureHolder)signature_holder).getSignedText() %></textarea>
<%= VerifyPreviewServlet.renderRequiredKeys(signature_holder.getSignatureObject(), "", false) %>
@@ -60,13 +66,14 @@ <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>-->
+
+<a class="big" href="/pdf-as">zurück</a>
+<a class="big" href="<%=btlurl%>">zurück zur Liste</a>
+
</div>
</body>
|