diff options
author | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-01-23 13:45:39 +0000 |
---|---|---|
committer | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-01-23 13:45:39 +0000 |
commit | 9ef5d25ffec1c26ccf76ad46131e33a861335da1 (patch) | |
tree | be14792e0edcdedec734f0d2336302d13b58b727 /BKUApplet/src | |
parent | a3f54566ff2b9b17c143bb68913d64aea188d8a7 (diff) | |
download | mocca-9ef5d25ffec1c26ccf76ad46131e33a861335da1.tar.gz mocca-9ef5d25ffec1c26ccf76ad46131e33a861335da1.tar.bz2 mocca-9ef5d25ffec1c26ccf76ad46131e33a861335da1.zip |
tiny applet
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@286 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUApplet/src')
-rw-r--r-- | BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java | 5 | ||||
-rw-r--r-- | BKUApplet/src/test/resources/appletTest.html | 12 |
2 files changed, 9 insertions, 8 deletions
diff --git a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java index 41dae3ba..5e60ed3e 100644 --- a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java +++ b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java @@ -91,8 +91,11 @@ public class BKUApplet extends JApplet implements AppletParameterProvider { log.debug("setting locale to " + getLocale()); BKUGUIFacade.Style guiStyle; - if ("advanced".equals(getAppletParameter(GUI_STYLE))) { + String guiStyleParam = getAppletParameter(GUI_STYLE); + if ("advanced".equals(guiStyleParam)) { guiStyle = BKUGUIFacade.Style.advanced; + } else if ("tiny".equals(guiStyleParam)) { + guiStyle = BKUGUIFacade.Style.tiny; } else { guiStyle = BKUGUIFacade.Style.simple; } diff --git a/BKUApplet/src/test/resources/appletTest.html b/BKUApplet/src/test/resources/appletTest.html index 2bf9ba0c..c8bd99d3 100644 --- a/BKUApplet/src/test/resources/appletTest.html +++ b/BKUApplet/src/test/resources/appletTest.html @@ -19,15 +19,13 @@ <center> <applet code="at.gv.egiz.bku.online.applet.BKUApplet.class" archive="../BKUApplet-1.0.4-SNAPSHOT.jar, ../test-libs/commons-logging-1.1.1.jar , ../test-libs/iaik_jce_me4se-3.04.jar" - width=300 height=200> - <param name="GuiStyle" value="advanced"/> - <param name="Locale" value="en_US"/> + width=152 height=145> + <param name="GuiStyle" value="tiny"/> + <param name="Locale" value="ja_JA"/> <!--param name="Background" value="jar:file:/home/clemens/workspace/mocca/BKUApplet/target/BKUApplet-1.0-SNAPSHOT.jar!/images/help.png"/--> - <param name="Background" value="http://localhost:3495/img/BackgroundChipperling.png"/> - <param name="WSDL_URL" value="http://localhost:3495/stal?wsdl"/> + <!--param name="Background" value="http://localhost:3495/img/BackgroundChipperling.png"/--> + <param name="WSDL_URL" value="https://danu.gv.at:3496/stal?wsdl"/> <param name="HelpURL" value="http://apps.egiz.gv.at/bkuonline/help/"/> - <param name="HashDataDisplay" value="frame"/> - <!--param name="HashDataURL" value="http://localhost:3495/BKUOnline-1.0-SNAPSHOT/hashDataInput"/--> <param name="SessionId" value="TestSession"/> <param name="RedirectURL" value="http://localhost:3495/bkuResult"/> </applet> |