aboutsummaryrefslogtreecommitdiff
path: root/webapp/jsp
diff options
context:
space:
mode:
authorknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-07-25 14:58:25 +0000
committerknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-07-25 14:58:25 +0000
commitb46cb295c8ff33020c61b19676f5142d8e361e8b (patch)
tree79f86230168658fcb8f8112aa91d07ba53214f7a /webapp/jsp
parent34b81ed58a7b3c9b3c85796a375b1cfa138baa9e (diff)
downloadpdf-as-3-b46cb295c8ff33020c61b19676f5142d8e361e8b.tar.gz
pdf-as-3-b46cb295c8ff33020c61b19676f5142d8e361e8b.tar.bz2
pdf-as-3-b46cb295c8ff33020c61b19676f5142d8e361e8b.zip
ID field by MOA signs not visible anymore
No problems with BKU results page (CSS, Zurueck) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@155 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'webapp/jsp')
-rw-r--r--webapp/jsp/local_connection_page.jsp3
-rw-r--r--webapp/jsp/null_request_page.jsp43
-rw-r--r--webapp/jsp/results.jsp6
3 files changed, 46 insertions, 6 deletions
diff --git a/webapp/jsp/local_connection_page.jsp b/webapp/jsp/local_connection_page.jsp
index 91ba403..16c7ea1 100644
--- a/webapp/jsp/local_connection_page.jsp
+++ b/webapp/jsp/local_connection_page.jsp
@@ -14,7 +14,6 @@
</head>
<body onload="document.submitform.submit()">
-
<div class="maindiv">
<h1>PDF-AS Amtssignaturen</h1>
@@ -44,7 +43,7 @@
</div>
-<a class="big" href="/pdf-as/">zurück</a>
+<a class="big" href="/pdf-as/">zur&uuml;ck</a>
</div>
</body>
</html>
diff --git a/webapp/jsp/null_request_page.jsp b/webapp/jsp/null_request_page.jsp
index 60e35a9..7bb3541 100644
--- a/webapp/jsp/null_request_page.jsp
+++ b/webapp/jsp/null_request_page.jsp
@@ -9,6 +9,45 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>PDF-AS Amtssignaturen Lokale Verbindung</title>
<link rel="stylesheet" type="text/css" href="/pdf-as/css/styles.css" />
+
+<script type="text/javascript">
+
+var req;
+
+function init() {
+
+ if (window.XMLHttpRequest) { req = new XMLHttpRequest(); }
+ else if (window.ActiveXObject) { req = new ActiveXObject("Microsoft.XMLHTTP"); }
+
+ var url = "<%= local_request_url %>";
+ var formdata = "XMLRequest=<?xml version='1.0' encoding='UTF-8'?><NullOperationRequest xmlns='http://www.buergerkarte.at/namespaces/securitylayer/1.2#'/>";
+ formdata += "&DataURL=<%= data_url %>";
+
+ req.open("post", url, true);
+ req.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
+ req.onreadystatechange = processXMLResponse;
+ req.send(formdata);
+}
+
+function processXMLResponse() {
+ try
+ {
+ //readyState of 4 or 'complete' represents
+ //that data has been returned
+ if (xmlHttp.readyState == 4 ||
+ xmlHttp.readyState == 'complete')
+ {
+ var response = req.responseText;
+ alert(response);
+ }
+ else
+ alert("not ok");
+ }
+ catch(e){}
+}
+
+</script>
+
</head>
<body onload="document.submitform.submit()">
@@ -41,7 +80,7 @@
</div>
-<a class="big" href="/pdf-as/">zurück</a>
+<a class="big" href="/pdf-as/">zur&uuml;ck</a>
</div>
</body>
-</html>
+</html> \ No newline at end of file
diff --git a/webapp/jsp/results.jsp b/webapp/jsp/results.jsp
index 833c35a..02e084f 100644
--- a/webapp/jsp/results.jsp
+++ b/webapp/jsp/results.jsp
@@ -2,6 +2,8 @@
<%@ page import="java.util.List" %>
<%@ page import="java.util.Iterator" %>
<%@ page import="at.knowcenter.wag.egov.egiz.sig.SignatureResponse" %>
+<%@ page import="at.knowcenter.wag.egov.egiz.web.LocalRequestHelper" %>
+
<%
List results = (List) request.getAttribute("results");
Object bb = request.getAttribute("backbutton");
@@ -16,7 +18,7 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>PDF-AS Amtssignaturen Resultat</title>
- <link rel="stylesheet" type="text/css" href="/pdf-as/css/styles.css" />
+ <link rel="stylesheet" type="text/css" href="<%=LocalRequestHelper.getLocalServerAddress(request,response)%>pdf-as/css/styles.css" />
</head>
<body>
<div class="maindiv">
@@ -83,7 +85,7 @@
if (backbutton)
{
%>
-<a class="big" href="/pdf-as/">zur&uuml;ck</a>
+<a class="big" href="<%=LocalRequestHelper.getLocalServerAddress(request,response)%>pdf-as/">zur&uuml;ck</a>
<%
}
%>