Mercurial > dive4elements > river
changeset 5909:6dfd967dcae9
D4E river: Fixed substitution on help URL.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Tue, 07 May 2013 11:00:20 +0200 |
parents | 8bdb84aa9541 |
children | b8adee716970 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/states/DefaultState.java |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/DefaultState.java Mon May 06 18:53:09 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/DefaultState.java Tue May 07 11:00:20 2013 +0200 @@ -81,9 +81,11 @@ CallMeta meta = context.getMeta(); - String helpText = getHelpText() != null ? - Resources.getMsg(meta, getHelpText(), getHelpText()) - : null; + String helpText = getHelpText(); + if (helpText != null) { + helpText = replaceHelpUrl( + Resources.getMsg(meta, helpText, helpText)); + } String label = Resources.getMsg(meta, getID(), getID()); Element ui = ProtocolUtils.createArtNode(