Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.1.0.BETA1
-
Fix Version/s: 3.1.0.BETA2, 3.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Any
-
Assignee Priority:P1
Description
Event listeners specified via the rowSelectListener attribute are not being called. This was discovered while working on ICE-8209, in the dynamic menu tutorial.
This issue can be reproduced in the showcase application by adding a test listener to a backing bean like the following:
public void testListener(org.icefaces.ace.event.SelectEvent e) { System.out.println("rowSelectListener test"); }
...and adding the following attributes to a data table instance:
selectionMode="single" rowSelectListener="#{dataTableBean.testListener}"
The string "rowSelectListener test" will never be printed in the console when selecting rows on the page. This problem was introduced at revision 29269. If you update the ace folder to a previous revision, 29267 for example, and use the resulting jar in the showcase app, you will see the test string printed in the console.
This issue can be reproduced in the showcase application by adding a test listener to a backing bean like the following:
public void testListener(org.icefaces.ace.event.SelectEvent e) { System.out.println("rowSelectListener test"); }
...and adding the following attributes to a data table instance:
selectionMode="single" rowSelectListener="#{dataTableBean.testListener}"
The string "rowSelectListener test" will never be printed in the console when selecting rows on the page. This problem was introduced at revision 29269. If you update the ace folder to a previous revision, 29267 for example, and use the resulting jar in the showcase app, you will see the test string printed in the console.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Issue was with implementation of broadcast & queueEvent derived UIData), required for correct row state during filtering instances, added in 29269.
Revision #29336
Committed by nils.lundquist
Moments ago
ICE-8216- Further derived broadcast and queueEvent from UIData & UIComponentBase implementations, calling into UIData.queueEvent as UIData itself does to its superclass, UIComponentBase, was causing issues.