Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8RC1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Any
Description
In rowSelector, it's still possible to select multiple rows when multiple=false if no selectionListener was registered
This means that if you have a rowSelector component declared just like this...
<ice:rowSelector id="rowselector" value="#{var.selected}" multiple="false" />
...you will still be able to select multiple rows.
To reproduce the issue, follow these steps:
1. Deploy component-showcase.
2. Navigate to the folder webapps\component-showcase\WEB-INF\includes\examples\custom
3. Open the file named 'dataTable-rowSelection.jspx'.
4. Around line 95, remove this attribute from the <ice:rowSelector /> tag:
selectionListener="#{rowSelectController.rowSelectionListener}"
5. On your browser, navigate to the component-showcase app and load the Row Selection example.
6. Try selecting a few rows and see how all of them stay selected
7. Restore the attribute deleted on step 4, and reload the page on the browser.
8. Now you can see that only one row can have selected state in the entire table.
This means that if you have a rowSelector component declared just like this...
<ice:rowSelector id="rowselector" value="#{var.selected}" multiple="false" />
...you will still be able to select multiple rows.
To reproduce the issue, follow these steps:
1. Deploy component-showcase.
2. Navigate to the folder webapps\component-showcase\WEB-INF\includes\examples\custom
3. Open the file named 'dataTable-rowSelection.jspx'.
4. Around line 95, remove this attribute from the <ice:rowSelector /> tag:
selectionListener="#{rowSelectController.rowSelectionListener}"
5. On your browser, navigate to the component-showcase app and load the Row Selection example.
6. Try selecting a few rows and see how all of them stay selected
7. Restore the attribute deleted on step 4, and reload the page on the browser.
8. Now you can see that only one row can have selected state in the entire table.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Arturo Zambrano
created issue -
Arturo Zambrano
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 1.8 [ 10161 ] | |
Affects Version/s | 1.8RC1 [ 10143 ] |
Arturo Zambrano
made changes -
Assignee | Arturo Zambrano [ artzambrano ] |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 1.8RC2 [ 10163 ] | |
Fix Version/s | 1.8 [ 10161 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8 [ 10161 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Arturo Zambrano [ artzambrano ] |