# HG changeset patch # User Raimund Renkert # Date 1393515755 -3600 # Node ID 5d17e0012020819c6525518a768bf82f1fd77c6d # Parent 4d74d09228f0c2527a5a39c31979b8b7b30f94d3 Use river model_uuid to identify rivers. diff -r 4d74d09228f0 -r 5d17e0012020 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LinkSelection.java --- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LinkSelection.java Thu Feb 27 16:41:47 2014 +0100 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LinkSelection.java Thu Feb 27 16:42:35 2014 +0100 @@ -192,7 +192,7 @@ LinkItem link = new LinkItem("river"); link.setHoverDelay(0); link.setLinkTitle(item.getLabel()); - link.setTarget(item.getStringValue()); + link.setValue(item.getStringValue()); link.setShowTitle(false); Img img = new Img(); img.setShowTitle(false); @@ -238,7 +238,8 @@ link.addItemHoverHandler(new ItemHoverHandler() { @Override public void onItemHover(ItemHoverEvent event) { - String river = ((LinkItem)event.getItem()).getLinkTitle(); + String river = + ((LinkItem)event.getItem()).getValue().toString(); Img item = riverHighlight.get(river); if (item != null) { item.setVisible(true);