changeset 650:1946c4e9a878

Added missing parameter name in describe document (issue185). gnv-artifacts/trunk@739 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 05 Mar 2010 14:09:08 +0000
parents 4fc97074eb90
children 7b3ee0ac9905
files gnv-artifacts/ChangeLog gnv-artifacts/src/main/java/de/intevation/gnv/state/MeasurementState.java
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Fri Mar 05 12:35:24 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Fri Mar 05 14:09:08 2010 +0000
@@ -1,3 +1,10 @@
+2010-03-05  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	  Issue185
+
+	* src/main/java/de/intevation/gnv/state/MeasurementState.java: Added missing
+	  parameter name in describe document.
+
 2010-03-05  Tim Englich  <tim.englich@intevation.de>
 
 	* doc/conf/queries.properties: 
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/MeasurementState.java	Fri Mar 05 12:35:24 2010 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/MeasurementState.java	Fri Mar 05 14:09:08 2010 +0000
@@ -123,7 +123,6 @@
 
         public String getParameter(int idx) {
             if (idx >= 0 && idx < parameters.size()) {
-                logger.debug("############### PARAM: " + parameters.get(idx));
                 return (String) parameters.get(idx);
             }
 
@@ -220,6 +219,7 @@
         for (int i = 0; i < measurements; i++) {
             Element select = creator.create("select");
             creator.addAttr(select, "label", matrix.getMDescription(i));
+            creator.addAttr(select, "ref", name);
 
             for (int j = 0; j < parameters; j++) {
                 Element item  = creator.create("item");

http://dive4elements.wald.intevation.org