ICEfaces
  1. ICEfaces
  2. ICE-9315

ace:dataExporter - Non-rendered content being exported

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.2.0.GA, 3.3
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P1
    • Salesforce Case Reference:

      Description

      The ace:dataExporter is exporting content that is not being rendered on the screen/dataTable. This happens when the content that is being exported is not directly under the ace:column tag. For example:

                              <ace:column headerText="Column One">
                                  <h:panelGroup>
                                      <h:outputText value="#{item.itemOne}"
                                                    rendered="#{testBean.render}"/>
                                  </h:panelGroup>
                              </ace:column>
      1. Case12005Example.zip
        21 kB
        Arran Mccullough
      2. Case12005ExampleWAR.zip
        9.04 MB
        Arran Mccullough

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case that reproduced the issue.

        Steps:

        • Click the Export button.
        • The non-rendered contents of the first column are exported in the csv file.
        Show
        Arran Mccullough added a comment - Attached test case that reproduced the issue. Steps: Click the Export button. The non-rendered contents of the first column are exported in the csv file.
        Hide
        Arturo Zambrano added a comment -

        Committed fix to trunk at revision 35932 and to 3.3 EE branch at revision 35933.

        Added a check in exportValue(), which is used recursively, to see if the component is rendered or not.

        Show
        Arturo Zambrano added a comment - Committed fix to trunk at revision 35932 and to 3.3 EE branch at revision 35933. Added a check in exportValue(), which is used recursively, to see if the component is rendered or not.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: