changeset 7281:6c29c55dd85c

Fixings overview panel: Send valid encoded JSON filters to server part of the client.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 10 Oct 2013 18:34:04 +0200
parents 2584a114a350
children b59a7cf1c3de
files gwt-client/src/main/java/org/dive4elements/river/client/client/ui/fixation/FixationPanel.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/fixation/FixationPanel.java	Thu Oct 10 11:27:56 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/fixation/FixationPanel.java	Thu Oct 10 18:34:04 2013 +0200
@@ -40,6 +40,7 @@
 import org.dive4elements.river.client.client.services.FixingsOverviewService;
 import org.dive4elements.river.client.client.services.FixingsOverviewServiceAsync;
 import org.dive4elements.river.client.client.ui.AbstractUIProvider;
+import org.dive4elements.river.client.shared.MapUtils;
 import org.dive4elements.river.client.shared.model.Data;
 import org.dive4elements.river.client.shared.model.DataList;
 import org.dive4elements.river.client.shared.model.FixAnalysisArtifact;
@@ -154,7 +155,7 @@
         overviewService.generateOverview(
             locale,
             artifact.getUuid(),
-            getOverviewFilter(art.getFilter()),
+            MapUtils.toJavaEncodedString(getOverviewFilter(art.getFilter())),
             renderCheckboxes(),
             callBack,
             new AsyncCallback<FixingsOverviewInfo>() {

http://dive4elements.wald.intevation.org