changeset 4500:7558a18ceb23

Also use variable for displayname
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 14 Nov 2012 11:19:26 +0100
parents b74399bd0960
children b48c74988fd4
files flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) {

http://dive4elements.wald.intevation.org