changeset 869:94d9c8353ca9

Fixed the filter function and the helper panel. flys-client/trunk@2679 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 08 Sep 2011 12:49:24 +0000
parents 439068365cde
children d5fb88ba99d2
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/TableFilter.java
diffstat 3 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Thu Sep 08 11:13:46 2011 +0000
+++ b/flys-client/ChangeLog	Thu Sep 08 12:49:24 2011 +0000
@@ -1,3 +1,12 @@
+2011-09-08  Raimund Renkert <raimund.renkert@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java:
+	  Changed 'addChild()' to 'addMember' at layout container to be able to
+	  remove the content.
+
+	* src/main/java/de/intevation/flys/client/client/ui/TableFilter.java:
+	  Uncommented the fire event line to make the filter work.
+
 2011-09-08	Felix Wolfsteller	<felix.wolfsteller@intevation.de> 
 
 	Minor cosmetics.
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java	Thu Sep 08 11:13:46 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java	Thu Sep 08 12:49:24 2011 +0000
@@ -620,7 +620,7 @@
         helper.setHeight100();
         helper.setWidth100();
 
-        helperContainer.addChild(helper);
+        helperContainer.addMember(helper);
 
         return layout;
     }
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/TableFilter.java	Thu Sep 08 11:13:46 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/TableFilter.java	Thu Sep 08 12:49:24 2011 +0000
@@ -65,7 +65,7 @@
         // ' && event.getKeyName().equals("Enter")'
         // to the if-clause.
         if (event != null) {
-        //    fireFilterCriteriaChanged(getSearchString());
+            fireFilterCriteriaChanged(getSearchString());
         }
     }
 

http://dive4elements.wald.intevation.org