summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/webapp
diff options
context:
space:
mode:
authorwbauer <wbauer@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-10-09 15:18:40 +0000
committerwbauer <wbauer@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-10-09 15:18:40 +0000
commit32d579c45b0fc8a99e4f9b71164415fa09e2d79f (patch)
tree41068cce7c33c09c9688b415e9ed87272ae3a67c /BKUOnline/src/main/webapp
parent144c0133dcb107b30799a310ba51460d6479358d (diff)
downloadmocca-32d579c45b0fc8a99e4f9b71164415fa09e2d79f.tar.gz
mocca-32d579c45b0fc8a99e4f9b71164415fa09e2d79f.tar.bz2
mocca-32d579c45b0fc8a99e4f9b71164415fa09e2d79f.zip
Introduced SL Request parameters to customize Applet layout
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@92 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main/webapp')
-rw-r--r--BKUOnline/src/main/webapp/HTTP-ohne.html6
-rw-r--r--BKUOnline/src/main/webapp/appletPage.jsp9
2 files changed, 13 insertions, 2 deletions
diff --git a/BKUOnline/src/main/webapp/HTTP-ohne.html b/BKUOnline/src/main/webapp/HTTP-ohne.html
index f61081cc..1923113e 100644
--- a/BKUOnline/src/main/webapp/HTTP-ohne.html
+++ b/BKUOnline/src/main/webapp/HTTP-ohne.html
@@ -86,6 +86,12 @@ legend {
<sl:BinaryFileParameters ContentIsXMLEntity="true" />
</sl:InfoboxReadRequest>
-->
+<p><label for="appletWidth">Applet Width</label> <input
+ name="appletWidth" value="190" id="appletWidth">
+<p><label for="appletHeight">Applet Height</label> <input
+ name="appletHeight" value="130" id="appletHeight">
+<p><label for="appletBackground">Applet Background</label> <input
+ name="appletBackground" value="" id="appletBackground">
</textarea></p>
<!--
diff --git a/BKUOnline/src/main/webapp/appletPage.jsp b/BKUOnline/src/main/webapp/appletPage.jsp
index b9225e56..59dc2ad5 100644
--- a/BKUOnline/src/main/webapp/appletPage.jsp
+++ b/BKUOnline/src/main/webapp/appletPage.jsp
@@ -25,6 +25,10 @@
<script type="text/javascript" src="js/deployJava.js"></script>
</head>
<body>
+<% int width= session.getAttribute("appletWidth") == null ? 190 : (Integer)session.getAttribute("appletWidth");
+ int height=session.getAttribute("appletHeight") == null ? 130 : (Integer)session.getAttribute("appletHeight");
+ String backgroundImg = (String) session.getAttribute("appletBackground");
+%>
<script>
if (!deployJava.versionCheck('1.6.0_04+')) {
document
@@ -34,10 +38,11 @@
codebase :'applet',
code :'at.gv.egiz.bku.online.applet.BKUApplet.class',
archive :'BKUApplet-1.0-SNAPSHOT.jar, commons-logging-1.1.1.jar, iaik_jce_me4se-3.04.jar',
- width :190,
- height :130
+ width : <%= width %>,
+ height :<%= height %>
};
var parameters = {
+ background : <%= backgroundImg %>,
WSDL_URL :'../stal?wsdl',
SessionID : '<%= session.getId() %>',
redirectURL : '../bkuResult'