changeset 1342:9bf91bce6ca4

Bugfix: adjusted method call which avoided compiling flys-client. flys-client/trunk@2992 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 17 Oct 2011 15:37:24 +0000
parents e26088566e8a
children 0d3d3860beb5
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/server/CollectionHelper.java
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Mon Oct 17 15:17:28 2011 +0000
+++ b/flys-client/ChangeLog	Mon Oct 17 15:37:24 2011 +0000
@@ -1,3 +1,9 @@
+2011-10-17  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/server/CollectionHelper.java:
+	  Bugfix: adjusted a method call of XMLUtils.ElementCreator.addAttr()
+	  which avoided compiling flys-client.
+
 2011-10-17  Raimund Renkert <raimund.renkert@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/server/CollectionHelper.java	Mon Oct 17 15:17:28 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/CollectionHelper.java	Mon Oct 17 15:37:24 2011 +0000
@@ -202,7 +202,7 @@
             cr.addAttr(t, "pos", Integer.toString(theme.getPosition()), true);
             cr.addAttr(t, "index", Integer.toString(theme.getIndex()), true);
             cr.addAttr(t, "description", theme.getDescription(), true);
-            cr.addAttr(t, "visible", theme.getVisible(), true);
+            cr.addAttr(t, "visible", Integer.toString(theme.getVisible()), true);
         }
 
         return t;

http://dive4elements.wald.intevation.org