From: Artur Signell Date: Tue, 13 Mar 2012 18:15:12 +0000 (+0200) Subject: #8500 Updated Panel to no longer use child painted with the UIDL (part X-Git-Tag: 7.0.0.alpha2~336 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f38942e05bbb46c2d4db0cd964bf83f5bc171100;p=vaadin-framework.git #8500 Updated Panel to no longer use child painted with the UIDL (part 2) --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/PanelConnector.java b/src/com/vaadin/terminal/gwt/client/ui/PanelConnector.java index 8f54b13bb9..32e50b3538 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/PanelConnector.java +++ b/src/com/vaadin/terminal/gwt/client/ui/PanelConnector.java @@ -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();