@Override public void detach() { super.detach(); detachDataProviderListener(); }
@Override public void detach() { if (uiProvider != null) { getSession().removeUIProvider(uiProvider); } super.detach(); }
/** * Actually sets the parent and calls required listeners. * * @since 7.1 * @param parent * The parent to set */ private void internalSetParent(ClientConnector parent) { ClientConnector oldParent = getParent(); // Send a detach event if the component is currently attached if (isAttached()) { detach(); } // Connect to new parent this.parent = parent; // Send attach event if the component is now attached if (isAttached()) { attach(); } if (oldParent != null) { oldParent.markAsDirty(); } }