diff options
Diffstat (limited to 'server/src/com/vaadin/ui/Tree.java')
-rw-r--r-- | server/src/com/vaadin/ui/Tree.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/Tree.java b/server/src/com/vaadin/ui/Tree.java index 44a1208cf8..1ba011dd00 100644 --- a/server/src/com/vaadin/ui/Tree.java +++ b/server/src/com/vaadin/ui/Tree.java @@ -54,6 +54,7 @@ import com.vaadin.server.PaintException; import com.vaadin.server.PaintTarget; import com.vaadin.server.Resource; import com.vaadin.shared.MouseEventDetails; +import com.vaadin.shared.ui.MultiSelectMode; import com.vaadin.shared.ui.dd.VerticalDropLocation; import com.vaadin.shared.ui.tree.TreeConstants; import com.vaadin.util.ReflectTools; @@ -519,7 +520,7 @@ public class Tree extends AbstractSelect implements Container.Hierarchical, : "single")); if (isMultiSelect()) { target.addAttribute("multiselectmode", - multiSelectMode.ordinal()); + multiSelectMode.toString()); } } else { target.addAttribute("selectmode", "none"); |