cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

When onExit() will be executed?

Former Member
0 Likes
10,805

Hi,

Documentation tells that onExit() calls by framework when view is destroyed.

Does any one know whether Controller's onExit() will be called either on page "refresh" OR closing browser tab.?

Thanks,

Srinath

View Entire Topic
0 Likes

On the one hand you can configure to destroy navigational views at routing by configuring the clearTarget property.

Or in case you tear down an app, onExit will be executed as well. Examples could be the tear down of a Fiori app or the iTeardownMyUIComponent() function used at OPA5 testing.