Class ViewScopeUnloadScriptRenderer


public class ViewScopeUnloadScriptRenderer extends InlineScriptRenderer
This renderer renders the value of the given UIOutput as the inline script which initializes the unload of the OmniFaces ViewScoped beans of the current view. Right before that, it puts the pending bean storage of the current view in the active view scopes, see ViewScopeStorageInSession, because the client is then about to receive the unload script which can destroy them. A failure later in the same response leaves them active until they are evicted from the active view scopes or the HTTP session expires. This is internally only used by ViewScopeManager.
Since:
3.14.28
Author:
Bauke Scholtz
See Also: