changeset 2387:79483ff032bb

Client side fix for flys/issue499. There is an server issue, too. flys-client/trunk@4043 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 13 Feb 2012 16:14:37 +0000
parents 4a86c250d6a5
children d53f8cc1702c
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Thu Feb 09 15:49:55 2012 +0000
+++ b/flys-client/ChangeLog	Mon Feb 13 16:14:37 2012 +0000
@@ -1,3 +1,10 @@
+2012-02-09	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	Client side fix for flys/issue499. There is an server issue, too.
+
+	* src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java:
+	  Send W/Q mode WQ_FREE if calculating "W auf freier Strecke."
+
 2012-02-09	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	Fix flys/issue481 (i18n: Datenkorb).
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java	Thu Feb 09 15:49:55 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java	Mon Feb 13 16:14:37 2012 +0000
@@ -935,9 +935,15 @@
 
         String value = null;
         if (wqMode.equals(FIELD_WQ_Q) || wqMode.equals(FIELD_WQ_Q_GAUGE)) {
+            GWT.log("getData: FIELD_WQ_Q || FIELD_WQ_Q_GAUGE");
             value = FIELD_WQ_Q;
         }
+        else if (wqMode.equals(FIELD_WQ_W_FREE)) {
+            GWT.log("getData: FIELD_WQ_W_FREE");
+            value = FIELD_WQ_W_FREE;
+        }
         else {
+            GWT.log("getData: FIELD_WQ_W");
             value = FIELD_WQ_W;
         }
 

http://dive4elements.wald.intevation.org