diff options
author | pdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-12-06 16:53:47 +0000 |
---|---|---|
committer | pdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2010-12-06 16:53:47 +0000 |
commit | 125cc4075896aceda7cb02ecee84e18604294ff4 (patch) | |
tree | f54741df4a14969c28f7c58edaadce47b4ca9480 /src/main/webapp/jsp/signpreview.jsp | |
parent | 63c48dfb86e24a82f828628d5f2518732c201993 (diff) | |
download | pdf-as-3-125cc4075896aceda7cb02ecee84e18604294ff4.tar.gz pdf-as-3-125cc4075896aceda7cb02ecee84e18604294ff4.tar.bz2 pdf-as-3-125cc4075896aceda7cb02ecee84e18604294ff4.zip |
Moved to pdf-as-web project
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@674 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/webapp/jsp/signpreview.jsp')
-rw-r--r-- | src/main/webapp/jsp/signpreview.jsp | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/src/main/webapp/jsp/signpreview.jsp b/src/main/webapp/jsp/signpreview.jsp deleted file mode 100644 index 66a9f69..0000000 --- a/src/main/webapp/jsp/signpreview.jsp +++ /dev/null @@ -1,83 +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"%>
-<%@ page import="org.apache.commons.lang.StringEscapeUtils"%>
-<%@ page import="at.gv.egiz.pdfas.api.commons.Constants" %>
-
-<%@ include file="language.jsp" %>
-
-<%
- 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 = StringEscapeUtils.escapeHtml(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><fmt:message key="signpreview.title"/></title>
- </head>
-
- <body>
- <h1><fmt:message key="common.title"/></h1>
- <h2><fmt:message key="signpreview.heading2"/></h2>
- <%
- if (si.mode.equals(FormFields.VALUE_MODE_TEXTUAL)) {
- %>
- <form action="<%= submit_url %>" name="submitform" enctype="multipart/form-data" accept-charset="UTF-8" method="get">
- <pre class="pdfasnt"><%= document_text != null ? document_text : "" %></pre>
- <% if (Constants.SIGNATURE_DEVICE_BKU.equals(si.connector)) { %>
- <div>
- <!-- =============================================== Start BKU-Erkennung -->
- <iframe src="bku-erkennung/bku-erkennung_iframe.html" width="152" height="57" id="sep_iframe" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" allowtransparency="true"></iframe>
- <!-- ================================================ Stop BKU-Erkennung -->
- </div>
- <% } else if (Constants.SIGNATURE_DEVICE_MOC.equals(si.connector)) { %>
- <div>
- <img src="images/chiperling.jpg" width="57" height="57" alt="<fmt:message key="common.mocca"/>"/>
- </div>
- <% } // end if %>
- <input type="submit" value="<fmt:message key="signpreview.button.sign"/>" />
- </form>
- <%
- } else {
- %>
- <div class="pdfasverticalspace"></div>
- <form action="<%= signature_data_url %>" method="get" target="blank_">
- <input type="submit" value="<fmt:message key="signpreview.showpreview"/>" />
- </form>
- <div class="pdfasverticalspace"></div>
- <% if (Constants.SIGNATURE_DEVICE_BKU.equals(si.connector)) { %>
- <div>
- <!-- =============================================== Start BKU-Erkennung -->
- <iframe src="bku-erkennung/bku-erkennung_iframe.html" width="152" height="57" id="sep_iframe" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" allowtransparency="true"></iframe>
- <!-- ================================================ Stop BKU-Erkennung -->
- </div>
- <% } else if (Constants.SIGNATURE_DEVICE_MOC.equals(si.connector)) { %>
- <div>
- <img src="images/chiperling.jpg" width="57" height="57" alt="<fmt:message key="common.mocca"/>"/>
- </div>
- <% } // end if %>
- <form action="<%= submit_url %>" method="get">
- <input type="submit" value="<fmt:message key="signpreview.button.sign"/>" />
- </form>
- <%
- }
- %>
- <div class="pdfasverticalspace"></div>
- <a href="<%= request.getContextPath() %>/"><fmt:message key="common.back"/></a>
- </body>
-
-</html>
|