[Dive4elements-commits] [PATCH 6 of 6] Also use variable for displayname

Wald Commits scm-commit at wald.intevation.org
Wed Nov 14 11:25:46 CET 2012


# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1352888366 -3600
# Node ID 7558a18ceb234ba44f3d0ccbad99c4a01440d490
# Parent  b74399bd09605f88ba42d8df32b208436a843f89
Also use variable for displayname

diff -r b74399bd0960 -r 7558a18ceb23 flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java	Wed Nov 14 11:18:41 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java	Wed Nov 14 11:19:26 2012 +0100
@@ -348,6 +348,7 @@
                 String out      = node.getAttribute("out");
                 String name     = node.getAttribute("facet");
                 String ids      = node.getAttribute("ids");
+                String displayname = node.getAttribute("name");
                 String debugAttributeValues = "";
                 for (String attr: node.getAttributes()) {
                     debugAttributeValues += ("[" + attr +": "
@@ -361,7 +362,7 @@
                      out,
                      name,
                      ids,
-                     node.getAttribute("name"));
+                     displayname);
             }
             TreeNode [] children = tree.getChildren(node);
             if (children != null) {


More information about the Dive4elements-commits mailing list