From 0010ce4439e90a8da20f61516d3ca8404c17a9af Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 21 Jun 2012 11:27:41 +0300 Subject: [PATCH] Call attach only once for children (#9006) --- src/com/vaadin/ui/Form.java | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/com/vaadin/ui/Form.java b/src/com/vaadin/ui/Form.java index 39b12e67e2..796ad17448 100644 --- a/src/com/vaadin/ui/Form.java +++ b/src/com/vaadin/ui/Form.java @@ -967,34 +967,6 @@ public class Form extends AbstractField implements Item.Editor, return newField; } - /** - * Notifies the component that it is connected to an application - * - * @see com.vaadin.ui.Component#attach() - */ - @Override - public void attach() { - super.attach(); - getLayout().attach(); - if (getFooter() != null) { - getFooter().attach(); - } - } - - /** - * Notifies the component that it is detached from the application. - * - * @see com.vaadin.ui.Component#detach() - */ - @Override - public void detach() { - super.detach(); - getLayout().detach(); - if (getFooter() != null) { - getFooter().detach(); - } - } - /** * Checks the validity of the Form and all of its fields. * -- 2.39.5