summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/BKUApplet.java6
-rw-r--r--BKUCommonGUI/src/main/resources/at/gv/egiz/bku/gui/Messages.properties3
-rw-r--r--BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalSignRequestHandler.java1
3 files changed, 5 insertions, 5 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 482273b0..829cc79d 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
@@ -83,9 +83,10 @@ public class BKUApplet extends JApplet implements AppletParameterProvider {
String locale = getAppletParameter(LOCALE_PARAM_KEY);
String guiStyle = getAppletParameter(GUI_STYLE);
URL backgroundImgURL = null;
- URL helpURL = null;
+ AppletHelpListener helpListener = null;
try {
- helpURL = getURLParameter(HELP_URL); //, getAppletParameter(SESSION_ID));
+ URL helpURL = getURLParameter(HELP_URL); //, getAppletParameter(SESSION_ID));
+ helpListener = new AppletHelpListener(helpURL, getLocale()); //getAppletContext(),
} catch (MalformedURLException ex) {
log.warn("failed to load help URL, disabling help: " + ex.getMessage());
}
@@ -101,7 +102,6 @@ public class BKUApplet extends JApplet implements AppletParameterProvider {
log.debug("setting locale to " + getLocale());
BKUGUIFacade gui = BKUGUIFactory.createGUI(guiStyle);
- AppletHelpListener helpListener = new AppletHelpListener(helpURL, getLocale()); //getAppletContext(),
gui.init(getContentPane(), getLocale(), backgroundImgURL, helpListener);
worker = new AppletBKUWorker(gui, getAppletContext(), this);
diff --git a/BKUCommonGUI/src/main/resources/at/gv/egiz/bku/gui/Messages.properties b/BKUCommonGUI/src/main/resources/at/gv/egiz/bku/gui/Messages.properties
index aeabc5c1..2dc03491 100644
--- a/BKUCommonGUI/src/main/resources/at/gv/egiz/bku/gui/Messages.properties
+++ b/BKUCommonGUI/src/main/resources/at/gv/egiz/bku/gui/Messages.properties
@@ -53,7 +53,8 @@ error.no.hashdata=<html>Keine Signaturdaten verf\u00FCgbar: {0}</html>
error.display.hashdata=<html>Signaturdaten konnten nicht dargestellt werden: {0}</html>
error.write.hashdata=<html>Die Signaturdaten konnten nicht gespeichert werden: {0}</html>
error.invalid.hash=<html>Die Signaturdaten sind ung\u00FCltig: {0}</html>
-error.ws.unreachable=<html>Das Web-Service ist nicht erreichbar: {0}</html>
+error.ws.unreachable=<html>Der Server ist nicht erreichbar</html>
+#error.ws.unreachable=<html>Das Web-Service ist nicht erreichbar: {0}</html>
error.pcsc=<html>Es konnte keine PC/SC Schnittstelle gefunden werden</html>
error.cardterminal=<html>Es konnte kein Smartcard-Leser gefunden werden</html>
error.unknown=<html>Leider trat ein Fehler auf: {0}</html>
diff --git a/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalSignRequestHandler.java b/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalSignRequestHandler.java
index d5702e0e..19a56502 100644
--- a/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalSignRequestHandler.java
+++ b/BKULocal/src/main/java/at/gv/egiz/bku/local/stal/LocalSignRequestHandler.java
@@ -25,7 +25,6 @@ import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import at.gv.egiz.bku.smccstal.SMCCSTALRequestHandler;
import at.gv.egiz.bku.smccstal.SignRequestHandler;
import at.gv.egiz.stal.HashDataInput;
import at.gv.egiz.stal.STALRequest;