%@ page import="at.gv.egiz.pdfas.web.FormFields" %> <%@ page import="at.gv.egiz.pdfas.web.session.SessionAttributes" %> <%@ page import="at.gv.egiz.pdfas.web.session.SignSessionInformation" %> <%@ page import="at.gv.egiz.pdfas.web.io.TextDataSource"%> <%@ page import="org.apache.commons.lang.StringEscapeUtils"%> <%@ page import="at.gv.egiz.pdfas.api.commons.Constants" %> <%@page import="at.gv.egiz.pdfas.web.servlets.SignServlet"%> <%@ page import="at.gv.egiz.pdfas.web.helper.LocalRequestHelper" %> <%@ include file="/jsp/language.jsp" %>
<% String contextPath = LocalRequestHelper.getLocalContextAddress(request, response); String serverUrl = LocalRequestHelper.getLocalServerAddress(request, response); String signature_data_url = (String)request.getAttribute("signature_data_url"); String sign_freetext = ""; String sign_mode = (String)session.getAttribute(SignServlet.SUBMITFORM_SIGNATURE_MODE_KEY); //String source_mode = (String)session.getAttribute(SignServlet.SUBMITFORM_SOURCE_KEY); //String sign_type = (String)session.getAttribute(SignServlet.SUBMITFORM_SIGNATURE_TYPE_KEY); //String sign_pdfa = (String)session.getAttribute(SignServlet.SUBMITFORM_PDFA_KEY); //String sign_note = (String)session.getAttribute(SignServlet.SUBMITFORM_NOTE_KEY); //sign_freetext = (String)session.getAttribute(SignServlet.SUBMITFORM_FREETEXT_KEY); String document_text=""; if (FormFields.FIELD_MODE_TEXTUAL.contains(sign_mode)) { document_text = StringEscapeUtils.escapeHtml((String)request.getAttribute("document_text")); } if (document_text==null) { document_text=""; } String language = (String)session.getAttribute(SessionAttributes.LANGUAGE); if (language!=null) { if (language.equals("de")) {%>