Mercurial > dive4elements > river
changeset 432:8ea213bd8fba
Adjusted a method signature of ClientProtocolUtils that has been changed in the last revision.
flys-client/trunk@1934 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 17 May 2011 09:58:53 +0000 |
parents | 86e6097e5a6a |
children | ad2c4fb17318 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java flys-client/src/main/java/de/intevation/flys/client/server/ExportServiceImpl.java |
diffstat | 3 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Tue May 17 07:51:26 2011 +0000 +++ b/flys-client/ChangeLog Tue May 17 09:58:53 2011 +0000 @@ -1,3 +1,10 @@ +2011-05-17 Ingo Weinzierl <ingo@intevation.de> + + * src/main/java/de/intevation/flys/client/server/ExportServiceImpl.java, + src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java: + Adapted a method signature of ClientProtocolUtils that has been changed + in the last revision. + 2011-05-17 Ingo Weinzierl <ingo@intevation.de> Tagged RELEASE 2.3
--- a/flys-client/src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java Tue May 17 07:51:26 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java Tue May 17 09:58:53 2011 +0000 @@ -48,7 +48,7 @@ String locale = req.getParameter("locale"); Document request = ClientProtocolUtils.newOutCollectionDocument( - uuid, type, getChartAttributes(req)); + uuid, type, type, getChartAttributes(req)); HttpClient client = new HttpClientImpl(serverUrl, locale); client.collectionOut(request, uuid, "chart", out);
--- a/flys-client/src/main/java/de/intevation/flys/client/server/ExportServiceImpl.java Tue May 17 07:51:26 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/ExportServiceImpl.java Tue May 17 09:58:53 2011 +0000 @@ -40,8 +40,9 @@ resp.setHeader("Content-Disposition", "attachment;filename=" + fn); + System.out.println("Request " + type + " export."); Document request = ClientProtocolUtils.newOutCollectionDocument( - uuid, mode); + uuid, mode, type); HttpClient client = new HttpClientImpl(serverUrl, locale); client.collectionOut(request, uuid, mode, out);