Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.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 | 01b18db3b288 |
children | f8c03d3af300 |
comparison
equal
deleted
inserted
replaced
1424:8974e220b193 | 1425:bc06a671ef60 |
---|---|
355 } | 355 } |
356 | 356 |
357 | 357 |
358 protected void triggerTreeBuilding() { | 358 protected void triggerTreeBuilding() { |
359 Config config = Config.getInstance(); | 359 Config config = Config.getInstance(); |
360 String url = config.getServerUrl(); | |
361 String locale = config.getLocale(); | 360 String locale = config.getLocale(); |
362 | 361 |
363 String artifactId = artifact.getUuid(); | 362 String artifactId = artifact.getUuid(); |
364 String userId = (user != null) ? user.identifier() : null; | 363 String userId = (user != null) ? user.identifier() : null; |
365 | 364 |
366 metaDataService.getMetaData( | 365 metaDataService.getMetaData( |
367 url, locale, | 366 locale, |
368 artifactId, | 367 artifactId, |
369 userId, | 368 userId, |
370 outs, | 369 outs, |
371 parameters, | 370 parameters, |
372 new AsyncCallback<DataCageTree>() { | 371 new AsyncCallback<DataCageTree>() { |