Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: EE-3.3.0.GA_P01
-
Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:jsf 2 ace
-
Assignee Priority:P1
Description
when creating a menu dynamically, the actionListener is not always firing. For example, see the xhtml and attached bean.
There are 6 menu items,
item 1-1
item 1-2
item 2-1
item 2-2
item 3-1
item 3-2
when the app is deployed, you can fire the first 4 items starting at top and see on server log that the actionListener has been fired.
click on 3-1 and no actionListener is fired.
refresh the page and 3-1 and 3-2 can get fired but then other's don't get fired.
No decodes on this component, so hard to track. Note that without ace:ajax, ice.s is being used (like submitting an entire form of commandButton or pushButtons).
here is the console for 2 successful and 1 unsuccessful submits:-
The successful submit appears like this (here are two):-
[window] full submit to http://localhost:8080/menusc/12500TheirsNoIds.jsf javax.faces.execute: @all javax.faces.render: @all javax.faces.source: menuForm:menuTable:2:Item_2 view ID: v7xcbxz8 event type: click bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] applied updates >> update["javax.faces.ViewState"]: -739589806292141809:8385346342820842498.... eval: var iceFormIdList=['menuForm', 'v7xcbxz8.... extension bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] persisted focus for element "" bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] persisted focus for element "" bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] full submit to http://localhost:8080/menusc/12500TheirsNoIds.jsf javax.faces.execute: @all javax.faces.render: @all javax.faces.source: menuForm:menuTable:0:Item_2 view ID: v7xcbxz8 event type: click bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] applied updates >> update["javax.faces.ViewState"]: -739589806292141809:8385346342820842498.... eval: var iceFormIdList=['menuForm', 'v7xcbxz8.... extension bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] persisted focus for element "" bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] persisted focus for element "" bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
If you continue to click on the items, then you start to get console like this and the actionListener does not get fired:-
[window] full submit to http://localhost:8080/menusc/12500TheirsNoIds.jsf javax.faces.execute: @all javax.faces.render: @all javax.faces.source: menuForm:menuTable:2:Item_1 view ID: v7xcbxz8 event type: click bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] applied updates >> update["javax.faces.ViewState"]: -739589806292141809:8385346342820842498.... eval: var iceFormIdList=['menuForm', 'v7xcbxz8.... extension bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] persisted focus for element "" bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
There are 6 menu items,
item 1-1
item 1-2
item 2-1
item 2-2
item 3-1
item 3-2
when the app is deployed, you can fire the first 4 items starting at top and see on server log that the actionListener has been fired.
click on 3-1 and no actionListener is fired.
refresh the page and 3-1 and 3-2 can get fired but then other's don't get fired.
No decodes on this component, so hard to track. Note that without ace:ajax, ice.s is being used (like submitting an entire form of commandButton or pushButtons).
here is the console for 2 successful and 1 unsuccessful submits:-
The successful submit appears like this (here are two):-
[window] full submit to http://localhost:8080/menusc/12500TheirsNoIds.jsf javax.faces.execute: @all javax.faces.render: @all javax.faces.source: menuForm:menuTable:2:Item_2 view ID: v7xcbxz8 event type: click bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] applied updates >> update["javax.faces.ViewState"]: -739589806292141809:8385346342820842498.... eval: var iceFormIdList=['menuForm', 'v7xcbxz8.... extension bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] persisted focus for element "" bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] persisted focus for element "" bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] full submit to http://localhost:8080/menusc/12500TheirsNoIds.jsf javax.faces.execute: @all javax.faces.render: @all javax.faces.source: menuForm:menuTable:0:Item_2 view ID: v7xcbxz8 event type: click bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] applied updates >> update["javax.faces.ViewState"]: -739589806292141809:8385346342820842498.... eval: var iceFormIdList=['menuForm', 'v7xcbxz8.... extension bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] persisted focus for element "" bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] persisted focus for element "" bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
If you continue to click on the items, then you start to get console like this and the actionListener does not get fired:-
[window] full submit to http://localhost:8080/menusc/12500TheirsNoIds.jsf javax.faces.execute: @all javax.faces.render: @all javax.faces.source: menuForm:menuTable:2:Item_1 view ID: v7xcbxz8 event type: click bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] applied updates >> update["javax.faces.ViewState"]: -739589806292141809:8385346342820842498.... eval: var iceFormIdList=['menuForm', 'v7xcbxz8.... extension bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
[window] persisted focus for element "" bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106:1291 <http://localhost:8080/menusc/javax.faces.resource/bridge.uncompressed.js.jsf?ln=ice.core&v=3_3_0_140106>
contain 12500.xhtml is the correct page to look at the final item in the data table as it does not fire the actionListeners.