Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.8.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:XP, Tomcat
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
When using enhancedMultiple="true", just the last selected row will be found in RowSelectorEvent.selectedRows when using CTRL+MouseButton. Due to method signature and documentation, all selected rows are expected.
- Part of xhtml:
<ice:rowSelector value="#{item.selected}" multiple="true" enhancedMultiple="true"
selectionListener="#{simpleTableBean.rowSelectionListener}"/>
- Part of Bean:
public void rowSelectionListener(RowSelectorEvent event) {
...
}
Please note: The enhanced selection itself works as considered, but the event doesn't transport this information.
- Part of xhtml:
<ice:rowSelector value="#{item.selected}" multiple="true" enhancedMultiple="true"
selectionListener="#{simpleTableBean.rowSelectionListener}"/>
- Part of Bean:
public void rowSelectionListener(RowSelectorEvent event) {
...
}
Please note: The enhanced selection itself works as considered, but the event doesn't transport this information.
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Ken Fyten
made changes -
Affects | [Documentation (User Guide, Ref. Guide, etc.)] |
Adnan Durrani
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 1.8.1 [ 10170 ] | |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18834 | Mon May 04 10:50:10 MDT 2009 | adnan.durrani | Fix for Explanation added to the tld and java doc. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/custom/rowselector-renderer.xml
MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/RowSelectorEvent.java |
Stefan Zeller
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [50070000008LkWM] |
Stefan Zeller
created issue -
This is a documentation issue, the event is behaving as intended. Only those rows selected as part of the context of a particular selection event are included in the event itself. You need to refer to the table model to see the total select row state.
We will improve the JavaDoc for the selection event to make this clear.