diff options
author | Artur Signell <artur@vaadin.com> | 2012-06-21 11:27:41 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-06-21 17:11:32 +0300 |
commit | 0010ce4439e90a8da20f61516d3ca8404c17a9af (patch) | |
tree | 00f2e6702471d2d70e2661ec1865c8dbeb491dab | |
parent | d511cdfc976fe666e48d94e83a8c1305830b9189 (diff) | |
download | vaadin-framework-0010ce4439e90a8da20f61516d3ca8404c17a9af.tar.gz vaadin-framework-0010ce4439e90a8da20f61516d3ca8404c17a9af.zip |
Call attach only once for children (#9006)
-rw-r--r-- | src/com/vaadin/ui/Form.java | 28 |
1 files changed, 0 insertions, 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 @@ -968,34 +968,6 @@ public class Form extends AbstractField<Object> implements Item.Editor, } /** - * 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. * * @see com.vaadin.data.Validatable#validate() |