comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DatacageWidget.java @ 6136:8d9859d776e5

Handle target_out in the Recommendation / Client datacage code.
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 31 May 2013 15:20:55 +0200
parents 1803017160be
children 93da474506e7
comparison
equal deleted inserted replaced
6135:804e50149d6a 6136:8d9859d776e5
379 String artifact = node.getAttribute("artifact-id"); 379 String artifact = node.getAttribute("artifact-id");
380 String out = node.getAttribute("out"); 380 String out = node.getAttribute("out");
381 String name = node.getAttribute("facet"); 381 String name = node.getAttribute("facet");
382 String ids = node.getAttribute("ids"); 382 String ids = node.getAttribute("ids");
383 String displayname = node.getAttribute("name"); 383 String displayname = node.getAttribute("name");
384 String targetOut = node.getAttribute("target_out");
384 String debugAttributeValues = ""; 385 String debugAttributeValues = "";
385 for (String attr: node.getAttributes()) { 386 for (String attr: node.getAttributes()) {
386 debugAttributeValues += ("[" + attr +": " 387 debugAttributeValues += ("[" + attr +": "
387 + node.getAttributeAsString(attr) + "] "); 388 + node.getAttributeAsString(attr) + "] ");
388 } 389 }
392 toLoad.add(artifact, 393 toLoad.add(artifact,
393 factory, 394 factory,
394 out, 395 out,
395 name, 396 name,
396 ids, 397 ids,
397 displayname); 398 displayname,
399 targetOut);
398 } 400 }
399 TreeNode [] children = tree.getChildren(node); 401 TreeNode [] children = tree.getChildren(node);
400 if (children != null) { 402 if (children != null) {
401 for (TreeNode child: children) { 403 for (TreeNode child: children) {
402 stack.push(child); 404 stack.push(child);

http://dive4elements.wald.intevation.org