[PATCH 13 of 17] Use the river model_uuid as value for data items

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


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1393515633 -3600
# Node ID 2a97d9c3413a84a68b94a315b7f5eeda9f645f00
# Parent  350a7cf09fbc00d4c2538a36e2d1672febd09881
Use the river model_uuid as value for data items.

diff -r 350a7cf09fbc -r 2a97d9c3413a gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ParameterList.java
--- 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(


More information about the Dive4elements-commits mailing list