Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0.BETA
-
Fix Version/s: 4.0, EE-3.3.0.GA_P04
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces
-
Assignee Priority:P2
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
Description
ResourceRegistry does not handle properly resources that are not session or application scoped. It seems that the handling for the other scopes was never implemented.
After doing the analysis of how resources are served and some debugging for confirmation I can definitely affirm that flash, view and window scoped resources cannot be properly looked up when requested.
The reason is that the request for resource is processed outside the JSF lifecycle. For example the view scoped beans cannot be looked up because the view map does not exist since a view root object is not created. Same goes for window and flash scoped resources. The application and session scoped bean do work because the application and session can be identified from the resource request.