From 1bc93daa34b1094f41cf19f20342c94c4e423244 Mon Sep 17 00:00:00 2001 From: John Ahlroos Date: Mon, 3 Sep 2012 14:16:26 +0300 Subject: [PATCH] Another fix for boxlayouts in component locator --- client/src/com/vaadin/client/ComponentLocator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/com/vaadin/client/ComponentLocator.java b/client/src/com/vaadin/client/ComponentLocator.java index c286b2fb9d..c57a143b27 100644 --- a/client/src/com/vaadin/client/ComponentLocator.java +++ b/client/src/com/vaadin/client/ComponentLocator.java @@ -519,7 +519,8 @@ public class ComponentLocator { */ if ((w instanceof VMeasuringOrderedLayout || w instanceof VBoxLayout || w instanceof VGridLayout) - && "ChildComponentContainer".equals(widgetClassName) + && ("ChildComponentContainer".equals(widgetClassName) || "VBoxLayout$Slot" + .equals(widgetClassName)) && i + 1 < parts.length) { HasWidgets layout = (HasWidgets) w; -- 2.39.5