Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.5
-
Fix Version/s: 1.8.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Operating System: All
Platform: All
Description
If you use a dataTable with a dataPaginator, so that the table rows are split
over more than one page, and add a rowSelector with multipleSelection="false",
then it is possible to actually do multiple selection, as long as you're
selecting rows on different pages.
over more than one page, and add a rowSelector with multipleSelection="false",
then it is possible to actually do multiple selection, as long as you're
selecting rows on different pages.
Issue Links
- is duplicated by
-
ICE-2513 rowSelector: multiple=false still allows multiple selection
- Closed
Activity
Mark Collette
created issue -
Icefaces Administrator
made changes -
Field | Original Value | New Value |
---|---|---|
issue.field.bugzillaimportkey | 1041 | 12290 |
Ken Fyten
made changes -
Assignee | Rob Mayhew [ rob.mayhew ] |
Philip Breau
made changes -
Ken Fyten
made changes -
Assignee | Joanne Bai [ joanne_bai ] |
Ken Fyten
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 1.8.2 [ 10190 ] | |
Fix Version/s | 2.0-Alpha3 [ 10032 ] | |
Resolution | Fixed [ 1 ] | |
Assignee | Joanne Bai [ joanne_bai ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
There is workaround for this issue on the backing bean side. Assuming the usual code (table backed by a list, and the field 'selected' to indicate selection):
<pre>
public void onRowSelect( RowSelectorEvent e )
{ i.next().setSelected( false ); }{
// Clear all selections first
selectedObject = null;
for ( ListIterator<Type> i = myList.listIterator(); i.hasNext()
// Get the selected row from the event, and explicitly select it
{ rowObject.setSelected( true ); selectedObject = rowObject; }Type rowObject = myList.get( e.getRow() );
if ( e.isSelected() )
}
</pre>