From 26fd7c97a6cc333d00800c4c98a4f58a3dc7c2c5 Mon Sep 17 00:00:00 2001 From: clemenso Date: Wed, 11 Feb 2009 20:06:57 +0000 Subject: activation support, GetStatusRequest in stal schema git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@299 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- BKUOnline/src/main/webapp/applet.jsp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'BKUOnline/src/main/webapp/applet.jsp') 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 @@ MOCCA Applet - + <% - // 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"; -- cgit v1.2.3