[PATCH 05 of 17] Replaced river name with model_uuid as value in RiverSelect state

Wald Commits scm-commit at wald.intevation.org
Thu Feb 27 16:47:51 CET 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1393509095 -3600
# Node ID 9aa0bd26ce7ff8d5a7865aa4cb171c0749770237
# Parent  a0913c206b910e3f4d619a3f2ad6a8b9d004842b
Replaced river name with model_uuid as value in RiverSelect state.

diff -r a0913c206b91 -r 9aa0bd26ce7f artifacts/src/main/java/org/dive4elements/river/artifacts/states/RiverSelect.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/RiverSelect.java	Thu Feb 27 14:49:58 2014 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/RiverSelect.java	Thu Feb 27 14:51:35 2014 +0100
@@ -133,7 +133,8 @@
         Element value = ProtocolUtils.createArtNode(cr, "value", null, null);
 
         label.setTextContent(river.getName());
-        value.setTextContent(river.getName());
+        logger.debug("model uuid: " + river.getModelUuid());
+        value.setTextContent(river.getModelUuid());
 
         item.appendChild(label);
         item.appendChild(value);


More information about the Dive4elements-commits mailing list