Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java @ 1425:bc06a671ef60
Removed the URL parameter from service calls. The service
implementations read the URL from the web.xml config file now.
flys-client/trunk@3367 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 08 Dec 2011 09:12:27 +0000 |
parents | 9981ba2ee13a |
children | e8aec81af22b |
comparison
equal
deleted
inserted
replaced
1424:8974e220b193 | 1425:bc06a671ef60 |
---|---|
427 /** | 427 /** |
428 * Updates the Transform2D object using the chart info service. | 428 * Updates the Transform2D object using the chart info service. |
429 */ | 429 */ |
430 public void updateChartInfo() { | 430 public void updateChartInfo() { |
431 Config config = Config.getInstance(); | 431 Config config = Config.getInstance(); |
432 String url = config.getServerUrl(); | |
433 String locale = config.getLocale(); | 432 String locale = config.getLocale(); |
434 | 433 |
435 info.getChartInfo( | 434 info.getChartInfo( |
436 view.getCollection(), | 435 view.getCollection(), |
437 url, | |
438 locale, | 436 locale, |
439 mode.getName(), | 437 mode.getName(), |
440 getChartAttributes(), | 438 getChartAttributes(), |
441 new AsyncCallback<ChartInfo>() { | 439 new AsyncCallback<ChartInfo>() { |
442 public void onFailure(Throwable caught) { | 440 public void onFailure(Throwable caught) { |