Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.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 | 047a44270348 |
children | 9152cfb3a54c |
comparison
equal
deleted
inserted
replaced
1424:8974e220b193 | 1425:bc06a671ef60 |
---|---|
1404 DataList[] data = adescr.getOldData(); | 1404 DataList[] data = adescr.getOldData(); |
1405 | 1405 |
1406 double[] mm = getMinMaxKM(data); | 1406 double[] mm = getMinMaxKM(data); |
1407 String river = getRiverName(data); | 1407 String river = getRiverName(data); |
1408 | 1408 |
1409 wqInfoService.getWQInfo(url, locale, river, mm[0], mm[1], | 1409 wqInfoService.getWQInfo(locale, river, mm[0], mm[1], |
1410 new AsyncCallback<WQInfoObject[]>() { | 1410 new AsyncCallback<WQInfoObject[]>() { |
1411 public void onFailure(Throwable caught) { | 1411 public void onFailure(Throwable caught) { |
1412 GWT.log("Could not recieve wq informations."); | 1412 GWT.log("Could not recieve wq informations."); |
1413 SC.warn(caught.getMessage()); | 1413 SC.warn(caught.getMessage()); |
1414 } | 1414 } |