From: John Ahlroos Date: Mon, 3 Sep 2012 11:16:26 +0000 (+0300) Subject: Another fix for boxlayouts in component locator X-Git-Tag: 7.0.0.beta1~207 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1bc93daa34b1094f41cf19f20342c94c4e423244;p=vaadin-framework.git Another fix for boxlayouts in component locator --- 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;