difference between view exit and view destroyCreated by Wang, Jerry, last modified on Nov 08, 2015

简介: Created by Wang, Jerry, last modified on Nov 08, 2015

Created by Wang, Jerry, last modified on Nov 08, 2015

Control.prototype.destroy

_cleanupBusyIndicator();

sap.ui.core.ResizeHandler.deregisterAllForControl

this._busyIndicatorDelayedCallId

q.sap.clearDelayedCall

this._busyAnimationTimer1

clearTimeout(this._busyAnimationTimer1);

bSuppressInvalidate if true, the UI element is not marked for redraw

ManagedObject.prototype.destroy.call(this, bSuppressInvalidate);

this.$().remove(); // remove this control from DOM, e.g. if there is no parent

Inside view.destroy, it will call this.exit if this.exit exists.

in control.prototype.exit, this.oAfterRenderingNotifier.destroy();

in control.prototype.onControllerConnected, sap.ui.base.ManagedObject.runWithPreprocessors calls X.parseTemplate

In Core.js, Core.prototype.deregisterElement, delete this.mElements[oElement.getId()];

image.png

image.pngimage.pngimage.pngimage.png

image.png


相关文章
|
6月前
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘thinkphp.test‘ don‘t exsit
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘thinkphp.test‘ don‘t exsit
111 0
Why close date in S2 view is not displayed correctly after clicking it
Why close date in S2 view is not displayed correctly after clicking it
62 0
Why close date in S2 view is not displayed correctly after clicking it
How to put S4 extension field to CRM WebUI search view in the design time
How to put S4 extension field to CRM WebUI search view in the design time
How to put S4 extension field to CRM WebUI search view in the design time
scn SAP UI5 exercise - create root view
Created by Wang, Jerry, last modified on Feb 25, 2015
124 0
scn SAP UI5 exercise - create root view
Note change in webclient ui - delete case research
Note change in webclient ui - delete case research
Note change in webclient ui - delete case research
component set load logic - why coms_pcat_bob is accessed during product search
component set load logic - why coms_pcat_bob is accessed during product search
112 0
component set load logic - why coms_pcat_bob is accessed during product search
PBS_HAS_CHANGED ~ GET_SAP_MENU_INFO
Created by Wang, Jerry, last modified on Apr 20, 2015
110 0
PBS_HAS_CHANGED ~ GET_SAP_MENU_INFO
Created by Jerry Wang, last modified on Oct 30, 2015
Created by Jerry Wang, last modified on Oct 30, 2015
Created by Jerry Wang, last modified on Oct 30, 2015
|
Web App开发
How to find root cause of creation navigation failur
Created by Jerry Wang, last modified on Dec 09, 2014
111 0
How to find root cause of creation navigation failur