changeset 7762:2a97d9c3413a

Use the river model_uuid as value for data items.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 27 Feb 2014 16:40:33 +0100
parents 350a7cf09fbc
children 4d74d09228f0
files gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ParameterList.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ParameterList.java	Thu Feb 27 16:38:45 2014 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ParameterList.java	Thu Feb 27 16:40:33 2014 +0100
@@ -338,7 +338,8 @@
         int i = 0;
         for (River river: rivers) {
             String name = river.getName();
-            items[i++]  = new DefaultDataItem(name, null, name);
+            String mUuid = river.getModelUuid();
+            items[i++]  = new DefaultDataItem(name, null, mUuid);
         }
 
         Data data = new DefaultData(

http://dive4elements.wald.intevation.org