# HG changeset patch # User Ingo Weinzierl # Date 1305626333 0 # Node ID 8ea213bd8fba3cebff2a92b0b86c8e906160aad7 # Parent 86e6097e5a6aaa59f660dd2031eafb17bed84d94 Adjusted a method signature of ClientProtocolUtils that has been changed in the last revision. flys-client/trunk@1934 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 86e6097e5a6a -r 8ea213bd8fba flys-client/ChangeLog --- 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 + + * 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 Tagged RELEASE 2.3 diff -r 86e6097e5a6a -r 8ea213bd8fba flys-client/src/main/java/de/intevation/flys/client/server/ChartOutputServiceImpl.java --- 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); diff -r 86e6097e5a6a -r 8ea213bd8fba flys-client/src/main/java/de/intevation/flys/client/server/ExportServiceImpl.java --- 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);