Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java @ 254:6838e4112eeb
Bugfix: the current locale string is used to fetch chart images now.
flys-client/trunk@1864 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 09 May 2011 11:21:50 +0000 |
parents | 7ea004d0ffbc |
children | 7e484390d191 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java Mon May 09 10:31:54 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java Mon May 09 11:21:50 2011 +0000 @@ -76,19 +76,15 @@ */ protected String getImgUrl() { Config config = Config.getInstance(); - String server = config.getServerUrl(); String imgUrl = GWT.getModuleBaseURL(); imgUrl += "chart"; imgUrl += "?uuid=" + collection.identifier(); imgUrl += "&type=" + mode.getName(); - imgUrl += "&server=" + server; + imgUrl += "&server=" + config.getServerUrl(); + imgUrl += "&locale=" + config.getLocale(); imgUrl += "×tamp=" + new Date().getTime(); - GWT.log("IMAGE URL = " + imgUrl); - - // TODO Build the correct url that points to the OUT() resource of the - // collection. return imgUrl; } }