diff options
author | netconomy <netconomy@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-08-17 06:10:56 +0000 |
---|---|---|
committer | netconomy <netconomy@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2007-08-17 06:10:56 +0000 |
commit | 3d982813b34f6f230baf4a467cdc37ec92a77595 (patch) | |
tree | 85319d39cee2ded1bb7a2b2dd9e8ea37e3778248 /webapp/jsp/verifypreview.jsp | |
parent | 07f6c8f33b2d700276fe6ec6339ff836c8710131 (diff) | |
download | pdf-as-3-3d982813b34f6f230baf4a467cdc37ec92a77595.tar.gz pdf-as-3-3d982813b34f6f230baf4a467cdc37ec92a77595.tar.bz2 pdf-as-3-3d982813b34f6f230baf4a467cdc37ec92a77595.zip |
Performance
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@167 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
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>
|