aboutsummaryrefslogtreecommitdiff
path: root/webapp/jsp/signpreview.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/jsp/signpreview.jsp')
-rw-r--r--webapp/jsp/signpreview.jsp93
1 files changed, 0 insertions, 93 deletions
diff --git a/webapp/jsp/signpreview.jsp b/webapp/jsp/signpreview.jsp
deleted file mode 100644
index 897aec2..0000000
--- a/webapp/jsp/signpreview.jsp
+++ /dev/null
@@ -1,93 +0,0 @@
-<%@ 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.sig.SignatureData" %>
-<%@ page import="at.gv.egiz.pdfas.web.SignSessionInformation" %>
-<%@page import="at.gv.egiz.pdfas.impl.input.TextDataSourceImpl"%>
-<%
- SignSessionInformation si = (SignSessionInformation) session.getAttribute(SessionAttributes.ATTRIBUTE_SESSION_INFORMATION);
-
- String submit_url = (String)request.getAttribute("submit_url");
-
- String signature_data_url = (String)request.getAttribute("signature_data_url");
-
- String document_text = null;
- if (si.mode.equals(FormFields.VALUE_MODE_TEXTUAL))
- {
- SignatureData data = si.si.getSignatureData();
- TextDataSourceImpl tds = (TextDataSourceImpl)data.getDataSource();
- document_text = tds.getText();
- }
-%>
-<!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">
-<div class="mainheadline">Vorschau: Dokument Signieren</div>
-
-
-<%
- if (si.mode.equals(FormFields.VALUE_MODE_TEXTUAL))
- {
-%>
-<form action="<%= submit_url %>"
- name="submitform"
- enctype="multipart/form-data"
- accept-charset="UTF-8"
- method="get">
-<div class="contentsdiv">
-
-
-<pre class="nt"><%= document_text %></pre>
-
-<br />
-
-<input class="button" type="submit" value="Signieren..." />
-
-</div>
-</form>
-
-
-<%
- }
- else
- {
-%>
-
-<form action="<%= signature_data_url %>"
- method="get"
- target="blank_">
-<div class="contentsdiv">
-
-<input class="button" type="submit" value="Vorschaudokument anzeigen..." />
-
-</div>
-</form>
-
-<br />
-
-<form action="<%= submit_url %>"
- method="get">
-<div class="contentsdiv">
-
-<input class="button" type="submit" value="Signieren..." />
-
-</div>
-</form>
-
-<%
- }
-%>
-
-
-</div>
-<a class="big" href="/pdf-as/">zurück</a>
-</div>
-</body>
-</html>