changeset 3624:84a19de5f16a

issue695, fix path to showlevel style property. flys-artifacts/trunk@5318 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 30 Aug 2012 13:59:43 +0000
parents 119b8ba2b77f
children f2a5fe968b98
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Aug 29 23:46:21 2012 +0000
+++ b/flys-artifacts/ChangeLog	Thu Aug 30 13:59:43 2012 +0000
@@ -1,3 +1,10 @@
+2012-08-30	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	issue695, show waterlevel as line label.
+
+	* src/main/java/de/intevation/flys/utils/ThemeUtil.java:
+	  Fix path to showlevel style property.
+
 2012-08-30	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java	Wed Aug 29 23:46:21 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java	Thu Aug 30 13:59:43 2012 +0000
@@ -23,6 +23,7 @@
  */
 public class ThemeUtil {
 
+    /** Private logger. */
     private static Logger logger =
             Logger.getLogger(ThemeUtil.class);
 
@@ -69,7 +70,7 @@
             "/theme/field[@name='showwidth']/@default";
 
     public final static String XPATH_SHOW_LEVEL =
-            "/theme/field[@name='showwidth']/@default";
+            "/theme/field[@name='showlevel']/@default";
 
     public final static String XPATH_TRANSPARENCY =
             "/theme/field[@name='transparent']/@default";

http://dive4elements.wald.intevation.org