Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Component/s: ICE-Components
-
Labels:None
-
Environment:win xp
-
ICEsoft Forum Reference:
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
ViewListener.viewDisposed() is supposed to be called on window closed, but only seems to be called on session invalidation.
Removed ViewListener. Rectored how beans are notified to dispose their resources. Application beans need to implement com.icesoft.faces.context.DisposableBean interface to receive the notification based on what their scope is.
When in scope:
Also, for beans in request scope and concurrentDOMViews=false the view is reused on reload so the application beans are reused as well (no disposing).