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

        Arturo Zambrano created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s EE-3.0.0.GA [ 10262 ]
        Fix Version/s 3.0.1 [ 10282 ]
        Assignee Priority P1
        Assignee Arturo Zambrano [ artzambrano ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28307 Tue Mar 13 17:07:23 MDT 2012 art.zambrano ICE-7891 set the temporary data model (selected rows) in a different way
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/XMLExporter.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/PDFExporter.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/CSVExporter.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/ExcelExporter.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28308 Tue Mar 13 17:20:15 MDT 2012 art.zambrano ICE-7891 set the temporary data model (selected rows) in a different way
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/PDFExporter.java
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/ExcelExporter.java
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/XMLExporter.java
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/CSVExporter.java
        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.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1

          People

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

            Dates

            • Created:
              Updated:
              Resolved: