comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java @ 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 360e22afb98b
children f2371f3aaf03
comparison
equal deleted inserted replaced
4499:b74399bd0960 4500:7558a18ceb23
346 if (factory != null) { // we need at least a factory 346 if (factory != null) { // we need at least a factory
347 String artifact = node.getAttribute("artifact-id"); 347 String artifact = node.getAttribute("artifact-id");
348 String out = node.getAttribute("out"); 348 String out = node.getAttribute("out");
349 String name = node.getAttribute("facet"); 349 String name = node.getAttribute("facet");
350 String ids = node.getAttribute("ids"); 350 String ids = node.getAttribute("ids");
351 String displayname = node.getAttribute("name");
351 String debugAttributeValues = ""; 352 String debugAttributeValues = "";
352 for (String attr: node.getAttributes()) { 353 for (String attr: node.getAttributes()) {
353 debugAttributeValues += ("[" + attr +": " 354 debugAttributeValues += ("[" + attr +": "
354 + node.getAttributeAsString(attr) + "] "); 355 + node.getAttributeAsString(attr) + "] ");
355 } 356 }
359 toLoad.add(artifact, 360 toLoad.add(artifact,
360 factory, 361 factory,
361 out, 362 out,
362 name, 363 name,
363 ids, 364 ids,
364 node.getAttribute("name")); 365 displayname);
365 } 366 }
366 TreeNode [] children = tree.getChildren(node); 367 TreeNode [] children = tree.getChildren(node);
367 if (children != null) { 368 if (children != null) {
368 for (TreeNode child: children) { 369 for (TreeNode child: children) {
369 stack.push(child); 370 stack.push(child);

http://dive4elements.wald.intevation.org