ICEfaces
  1. ICEfaces
  2. ICE-7891

MyFaces: ace:dataExporter, cannot export selected rows only

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        Hide
        Arturo Zambrano added a comment -

        Committed fix at revision 28307 in the trunk and at revision 28308 in the maintenance branch.

        Show
        Arturo Zambrano added a comment - Committed fix at revision 28307 in the trunk and at revision 28308 in the maintenance branch.
        Hide
        Carmen Cristurean added a comment -

        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.

        Show
        Carmen Cristurean added a comment - 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.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: