summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-01-08 11:08:19 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-01-08 11:08:19 +0000
commit265782abea00bf81f52b0de00389378529ba65d2 (patch)
tree08bdbc9afa521c19f173699ff3999926a1785873 /BKUOnline/src/main
parentb97b768ba705935caf67352a143586faa0b2371f (diff)
downloadmocca-265782abea00bf81f52b0de00389378529ba65d2.tar.gz
mocca-265782abea00bf81f52b0de00389378529ba65d2.tar.bz2
mocca-265782abea00bf81f52b0de00389378529ba65d2.zip
integration demo
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@258 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main')
-rw-r--r--BKUOnline/src/main/webapp/appletPage.jsp72
1 files changed, 41 insertions, 31 deletions
diff --git a/BKUOnline/src/main/webapp/appletPage.jsp b/BKUOnline/src/main/webapp/appletPage.jsp
index b73ed2f4..d7749dd9 100644
--- a/BKUOnline/src/main/webapp/appletPage.jsp
+++ b/BKUOnline/src/main/webapp/appletPage.jsp
@@ -28,8 +28,7 @@
<META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jul 2002 11:12:01 GMT">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
</head>
- <body> <!-- style="background:#e8f4fe"-->
- <%
+ <%
int width = session.getAttribute("appletWidth") == null ? 190
: (Integer) session.getAttribute("appletWidth");
int height = session.getAttribute("appletHeight") == null ? 130
@@ -38,34 +37,45 @@
String guiStyle = (String) session.getAttribute("appletGuiStyle");
String hashDataDisplay = (String) session.getAttribute("appletHashDataDisplay");
String locale = (String) session.getAttribute("locale");
- %>
- <script>
- if (!deployJava.versionCheck('1.6.0_04+')) {
- document
- .write('<b>Diese Anwendung benötigt die Java Platform Version 1.6.0_04 oder höher.</b>' + '<input type="submit" value="Java Platform 1.6.0_02 installieren" onclick="deployJava.installLatestJRE();">');
- } else {
- var attributes = {
- codebase :'applet',
- code :'at.gv.egiz.bku.online.applet.BKUApplet.class',
- archive :'BKUApplet.jar, commons-logging-1.1.1.jar, iaik_jce_me4se-3.04.jar',
- width : <%=width%>,
- height :<%=height%>
- };
- var parameters = {
- GuiStyle : '<%=guiStyle%>',
- Locale : '<%=locale%>',
- Background : '<%=backgroundImg%>',
- WSDL_URL :'../stal;jsessionid=<%=session.getId()%>?wsdl',
- HelpURL : '../help/',
- HashDataDisplay : '<%=hashDataDisplay%>',
- HashDataURL : '../hashDataInput',
- SessionID : '<%=session.getId()%>',
- RedirectURL : '../bkuResult',
- RedirectTarget: '_parent'
- };
- var version = '1.6.0_04';
- deployJava.runApplet(attributes, parameters, version);
- }
- </script>
+ %>
+ <body style="background:#ffffff;padding:0;margin-top:0;border-style: none;">
+ <!--width:<%=width%>px;margin:auto;-->
+ <!--<div style="display: table; height: <%=height%>px; #position: relative; overflow: hidden;border: thin solid green;">
+ <div style=" #position: absolute; #top: 50%;display: table-cell; vertical-align: middle;">
+ <div style=" #position: relative; #top: -50%">
+-->
+ <script>
+ if (!deployJava.versionCheck('1.6.0_04+')) {
+ document
+ .write('<b>Diese Anwendung benötigt die Java Platform Version 1.6.0_04 oder höher.</b>' + '<input type="submit" value="Java Platform 1.6.0_02 installieren" onclick="deployJava.installLatestJRE();">');
+ } else {
+ var attributes = {
+ codebase :'applet',
+ code :'at.gv.egiz.bku.online.applet.BKUApplet.class',
+ archive :'BKUApplet.jar, commons-logging-1.1.1.jar, iaik_jce_me4se-3.04.jar',
+ width : <%=width%>,
+ height :<%=height%>
+ };
+ var parameters = {
+ GuiStyle : '<%=guiStyle%>',
+ Locale : '<%=locale%>',
+ Background : '<%=backgroundImg%>',
+ WSDL_URL :'../stal;jsessionid=<%=session.getId()%>?wsdl',
+ HelpURL : '../help/',
+ HashDataDisplay : '<%=hashDataDisplay%>',
+ HashDataURL : '../hashDataInput',
+ SessionID : '<%=session.getId()%>',
+ RedirectURL : '../bkuResult',
+ RedirectTarget: '_parent'
+ };
+ var version = '1.6.0_04';
+ deployJava.runApplet(attributes, parameters, version);
+ }
+ </script>
+ <!--
+ </div>
+ </div>
+ </div>
+ -->
</body>
</html>