comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/RiverSelect.java @ 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 af13ceeba52a
children e4606eae8ea5
comparison
equal deleted inserted replaced
7753:a0913c206b91 7754:9aa0bd26ce7f
131 Element item = ProtocolUtils.createArtNode(cr, "item", null, null); 131 Element item = ProtocolUtils.createArtNode(cr, "item", null, null);
132 Element label = ProtocolUtils.createArtNode(cr, "label", null, null); 132 Element label = ProtocolUtils.createArtNode(cr, "label", null, null);
133 Element value = ProtocolUtils.createArtNode(cr, "value", null, null); 133 Element value = ProtocolUtils.createArtNode(cr, "value", null, null);
134 134
135 label.setTextContent(river.getName()); 135 label.setTextContent(river.getName());
136 value.setTextContent(river.getName()); 136 logger.debug("model uuid: " + river.getModelUuid());
137 value.setTextContent(river.getModelUuid());
137 138
138 item.appendChild(label); 139 item.appendChild(label);
139 item.appendChild(value); 140 item.appendChild(value);
140 141
141 return item; 142 return item;

http://dive4elements.wald.intevation.org