changeset 7754:9aa0bd26ce7f

Replaced river name with model_uuid as value in RiverSelect state.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 27 Feb 2014 14:51:35 +0100
parents a0913c206b91
children 4a85cc6add7f
files artifacts/src/main/java/org/dive4elements/river/artifacts/states/RiverSelect.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);

http://dive4elements.wald.intevation.org