[PATCH] flys/issue1503: Evil hack to force loaded of data to be bound to 'w_differences'. TODO: Remove all the broken code from DataCageTwinPanel
Wald Commits
scm-commit at wald.intevation.org
Tue Nov 12 19:47:31 CET 2013
# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1384282044 -3600
# Node ID 04cc2dee911e8d537f109302b63054df851ca0c4
# Parent 22b5d1c6e2c063e64fdb2400a80ce5622af2b719
flys/issue1503: Evil hack to force loaded of data to be bound to 'w_differences'. TODO: Remove all the broken code from DataCageTwinPanel.
diff -r 22b5d1c6e2c0 -r 04cc2dee911e gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DatacageTwinPanel.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DatacageTwinPanel.java Tue Nov 12 17:46:04 2013 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DatacageTwinPanel.java Tue Nov 12 19:47:24 2013 +0100
@@ -282,6 +282,10 @@
* be cloned for difference calculations.
*/
public void adjustRecommendation(Recommendation recommendation) {
+ // XXX: THIS IS AN EVIL HACK TO MAKE W-DIFFERENCES WORK AGAIN!
+ // TODO: Throw all this code away and do it with server side recommendations!
+ recommendation.setTargetOut("w_differences");
+
if (recommendation.getIDs() != null) {
GWT.log("Setting staticwkms factory for rec with ID "
+ recommendation.getIDs());
More information about the Dive4elements-commits
mailing list