Mercurial > dive4elements > river
changeset 6052:799af7909e8d
Expand the Help Url also in the describe method
Previosly only describeStatic set the help url correctly
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 21 May 2013 16:39:10 +0200 |
parents | e56f0d618f96 |
children | a18aafc1372f |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/states/DefaultState.java |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/DefaultState.java Tue May 21 10:12:25 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/DefaultState.java Tue May 21 16:39:10 2013 +0200 @@ -247,8 +247,11 @@ ArtifactNamespaceContext.NAMESPACE_URI, ArtifactNamespaceContext.NAMESPACE_PREFIX); - String helpText = Resources.getMsg( - context.getMeta(), getHelpText(), getHelpText()); + String helpText = getHelpText(); + if (helpText != null) { + helpText = replaceHelpUrl( + Resources.getMsg(context.getMeta(), helpText, helpText)); + } Element ui = null; String uiprovider = getUIProvider();