]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8500 Updated Panel to no longer use child painted with the UIDL (part
authorArtur Signell <artur@vaadin.com>
Tue, 13 Mar 2012 18:15:12 +0000 (20:15 +0200)
committerArtur Signell <artur@vaadin.com>
Wed, 14 Mar 2012 14:00:51 +0000 (16:00 +0200)
2)

src/com/vaadin/terminal/gwt/client/ui/PanelConnector.java

index 8f54b13bb986a45cfcceb14f61593e0e5cb1b8fd..32e50b3538af63879fe0f7fe71e8f9a31d953f77 100644 (file)
@@ -144,18 +144,6 @@ public class PanelConnector extends AbstractComponentContainerConnector
 
         getWidget().handleError(uidl);
 
-        // Render content
-        // final UIDL layoutUidl = uidl.getChildUIDL(0);
-        // final ComponentConnector newLayout = client.getPaintable(layoutUidl);
-        // if (newLayout != getWidget().layout) {
-        // if (getWidget().layout != null) {
-        // client.unregisterPaintable(getWidget().layout);
-        // }
-        // getWidget().setWidget(newLayout.getWidget());
-        // getWidget().layout = newLayout;
-        // }
-        // getWidget().layout.updateFromUIDL(layoutUidl, client);
-
         // We may have actions attached to this panel
         if (uidl.getChildCount() > 0) {
             final int cnt = uidl.getChildCount();