Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-2.0.0.GA, 2.0.2
-
Fix Version/s: 2.1-Beta, 3.0, EE-2.0.0.GA_P01
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces
Description
Currently when invoking PushRenderer.addCurrentView(String) early in the lifecycle, it results in the invocation of PushContext.addGroupMember with a pushID value of null. For instance with a ICEfaces component, places like in a setter's and the isInView methods of a UIComponentBase component, the pushID can not yet be found. In the encodeAll(...) method it can be found though. It would be nice if this could work earlier within the lifecycle somehow. Maybe even by caching earlier invocations if the addCurrentView(String) method.
Moved the assigning of viewId from the component tree building time to before restore view phase. This way the viewId is available when the PushRenderer.addCurrentView() method is called in a the constructor or the setter of a bean.