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
Arturo Zambrano
created issue -
Arturo Zambrano
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Ken Fyten [ ken.fyten ] |
Arturo Zambrano
made changes -
Link | This issue blocks ICE-8209 [ ICE-8209 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29336 | Wed Jun 06 11:27:29 MDT 2012 | nils.lundquist | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
|
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 3.1.0.BETA2 [ 10336 ] | |
Fix Version/s | 3.1 [ 10312 ] | |
Assignee Priority | P1 | |
Assignee | Ken Fyten [ ken.fyten ] | Nils Lundquist [ nils.lundquist ] |
Nils Lundquist
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
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.