diff options
Diffstat (limited to 'BKUApplet')
-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> |