diff options
author | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-07-28 09:05:04 +0000 |
---|---|---|
committer | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-07-28 09:05:04 +0000 |
commit | af24a20257f4958ef5335d471a7fe2c93f475a35 (patch) | |
tree | f7f4b2da3f123433d78a1c950d1150b9adf60356 /BKUApplet/src/main/java/at/gv | |
parent | c84ee7bc9459bf4966144d29efc4e91b6497a28e (diff) | |
download | mocca-af24a20257f4958ef5335d471a7fe2c93f475a35.tar.gz mocca-af24a20257f4958ef5335d471a7fe2c93f475a35.tar.bz2 mocca-af24a20257f4958ef5335d471a7fe2c93f475a35.zip |
Resolved issue [#MOCCA-745] (Two simultaneous requests within the same session cause failure in both requests).
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@790 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUApplet/src/main/java/at/gv')
-rw-r--r-- | BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java | 8 |
1 files changed, 7 insertions, 1 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 2876c56e..f6ceacd0 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 @@ -187,7 +187,13 @@ public class BKUApplet extends JApplet { log.warn("Cannot load applet background image. {}", ex.getMessage()); } - helpListener = new HelpListener(getParameter(HELP_URL), getLocale()); + try { + URL helpUrl = getURLParameter(HELP_URL); + helpListener = new HelpListener(helpUrl, getLocale()); + log.debug("Setting help URL: {}", helpUrl); + } catch (MalformedURLException e) { + log.warn("Cannot set help URL. {}", e.getMessage()); + } SwitchFocusListener switchFocusListener = new SwitchFocusListener( getAppletContext(), "focusToBrowser"); |