diff options
Diffstat (limited to 'src/com/vaadin/ui/CustomField.java')
-rw-r--r-- | src/com/vaadin/ui/CustomField.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/com/vaadin/ui/CustomField.java b/src/com/vaadin/ui/CustomField.java index 806ee91335..269f24fb2c 100644 --- a/src/com/vaadin/ui/CustomField.java +++ b/src/com/vaadin/ui/CustomField.java @@ -63,11 +63,9 @@ public abstract class CustomField<T> extends AbstractField<T> implements @Override public void attach() { root = getContent(); - super.attach(); getContent().setParent(this); - getContent().attach(); - fireComponentAttachEvent(getContent()); + super.attach(); } /** @@ -79,7 +77,6 @@ public abstract class CustomField<T> extends AbstractField<T> implements @Override public void detach() { super.detach(); - getContent().detach(); } /** @@ -154,10 +151,6 @@ public abstract class CustomField<T> extends AbstractField<T> implements return (null != getContent()) ? 1 : 0; } - public void requestRepaintAll() { - AbstractComponentContainer.requestRepaintAll(this); - } - /** * Fires the component attached event. This should be called by the * addComponent methods after the component have been added to this |