Details
Description
It's possible in certain portal environments like Liferay to dynamically remove a portlet from a portal page. When this occurs, there is currently no way for the ICEfaces framework to properly dispose of the resources associated with that view. Liferay (an possibly other portal containers) does provide a mechanism to listen for when a portlet is closed which would allow a developer to call an ICEfaces API to dispose of the associated view.
Note that this must be a client-side JS API.
Note that this must be a client-side JS API.
The listener code for portlets closing in Liferay is outlined in this case:
http://jira.icefaces.org/browse/ICE-2657
Work on this issue should also be coordinated with the work on this case:
http://jira.icefaces.org/browse/ICE-3229
for disposing of multiple views (when a portal page is closed).