Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Fix Version/s: 3.0.1, EE-3.0.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:MyFaces
Description
When running on MyFaces, exporting data with ace:dataExporter's 'selectedRowsOnly' attribute set to true returns the entire table instead of only the selected rows. This seems to happen because the MyFaces UIData implementation has some restrictions as to when it's possible to (re)set the data model of the table, which we need to do when only exporting the set of selected rows.
Verified fix using 3.0.x-maintenance branch rev. 28331, in IE7/8, FF3.6, Chrome17.
There is a Server Internal Error if enabling 'Selected Rows only', and exporting as 'PDF' without selecting any row in the table.
For the export types 'csv', 'xls', 'xml' this works fine - if no row is selected. This happens if using either Mojarra or MyFaces.