diff options
author | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-02-11 20:06:57 +0000 |
---|---|---|
committer | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-02-11 20:06:57 +0000 |
commit | 26fd7c97a6cc333d00800c4c98a4f58a3dc7c2c5 (patch) | |
tree | cb72a55262cecd5d0560f3a9b52190078ba5e1d7 /BKUOnline/src/main/webapp/applet.jsp | |
parent | 942b845ba651d2acf269fabdbcc1eedf25f27dd7 (diff) | |
download | mocca-26fd7c97a6cc333d00800c4c98a4f58a3dc7c2c5.tar.gz mocca-26fd7c97a6cc333d00800c4c98a4f58a3dc7c2c5.tar.bz2 mocca-26fd7c97a6cc333d00800c4c98a4f58a3dc7c2c5.zip |
activation support, GetStatusRequest in stal schema
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@299 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main/webapp/applet.jsp')
-rw-r--r-- | BKUOnline/src/main/webapp/applet.jsp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/BKUOnline/src/main/webapp/applet.jsp b/BKUOnline/src/main/webapp/applet.jsp index ada48f22..591ed1bf 100644 --- a/BKUOnline/src/main/webapp/applet.jsp +++ b/BKUOnline/src/main/webapp/applet.jsp @@ -24,14 +24,15 @@ <title>MOCCA Applet</title> <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon"> <script type="text/javascript" src="js/deployJava.js"></script> - <style type="text/css" media="all">@import "css/login.css";</style> + <style type="text/css" media="all">@import "css/applet.css";</style> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> <META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jul 2002 11:12:01 GMT"> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> </head> <% - // min W/H (for de locale): 152px/145px with gui style 'tiny' + // min W/H (for de locale): 145px/145px with gui style 'tiny' + // (vs. 152px on linux) int width = session.getAttribute("appletWidth") == null ? 190 : (Integer) session.getAttribute("appletWidth"); //230 for workshop demo integration int height = session.getAttribute("appletHeight") == null ? 130 @@ -39,12 +40,15 @@ String backgroundImg = (String) session.getAttribute("appletBackground"); String guiStyle = (String) session.getAttribute("appletGuiStyle"); String locale = (String) session.getAttribute("locale"); + String extension = (String) session.getAttribute("extension"); String appletClass, appletArchive; - //if (Boolean.parseBoolean((String) session.getAttribute("appletExtension"))) { - if ("activation".equals(guiStyle)) { + if ("activation".equals(extension)) { appletArchive = "BKUAppletExt.jar"; - appletClass = "at.gv.egiz.bku.online.applet.ext.BKUAppletExt.class"; + appletClass = "at.gv.egiz.bku.online.applet.ActivationApplet.class"; + } else if ("pin".equals(extension)) { + appletArchive = "BKUAppletExt.jar"; + appletClass = "at.gv.egiz.bku.online.applet.PINManagementApplet.class"; } else { appletArchive = "BKUApplet.jar"; appletClass = "at.gv.egiz.bku.online.applet.BKUApplet.class"; |