]> source.dussan.org Git - vaadin-framework.git/commitdiff
Another fix for boxlayouts in component locator
authorJohn Ahlroos <john@vaadin.com>
Mon, 3 Sep 2012 11:16:26 +0000 (14:16 +0300)
committerJohn Ahlroos <john@vaadin.com>
Mon, 3 Sep 2012 11:16:26 +0000 (14:16 +0300)
client/src/com/vaadin/client/ComponentLocator.java

index c286b2fb9d8cb06c9119fd599ba1298c64eee65e..c57a143b271d7c5e0a400dc9d76f62c25eccd7ab 100644 (file)
@@ -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;