Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.1-Beta2, 3.0.RC1
-
Component/s: Documentation
-
Labels:None
-
Environment:MyFaces 2 ICEfaces 3 ACE
-
Assignee Priority:P1
Description
The Panel Listeners demo does not work when running with MyFaces 2. The methods of the PanelListener that are registered to handle the "toggle" and "close" events are never fired.
The events used to work in a previous revision (26555) but that was when each menu link was bookmarkable and triggered a full page load. That scenario still works - ie if you load the panelListener.xhtml file on its own, the panel events do fire.
So the problem is related to ace:ajax listeners that are added to the component tree dynamically after the page has initially been rendered.
The events used to work in a previous revision (26555) but that was when each menu link was bookmarkable and triggered a full page load. That scenario still works - ie if you load the panelListener.xhtml file on its own, the panel events do fire.
So the problem is related to ace:ajax listeners that are added to the component tree dynamically after the page has initially been rendered.
Turns out that adding save/restore state operations to AjaxBehavior was required. Not sure what went wrong before as the initial attempts to add state saving didn't appear to work. In this case, we simply did something similar to what the Mojarra AjaxBehavior class was already doing.