ICEfaces
  1. ICEfaces
  2. ICE-6836

DataExporter prints out f:param values in a commandLink

    Details

    • Assignee Priority:
      P1

      Description

      The dataExporter component prints out the f:param values that are nested in a commandLink. This causes the output to be repeated or copied to the excel file.

      Sample code:

              <ice:form>
                  <ice:panelGroup>
                      <ice:panelGroup>
                          <ice:dataExporter for="dataExportTable" ignorePagination="true"
                                            label="Download To Excel file" type="excel"
                                            style="text-align:right"
                                            clickToCreateFileText="Click to create Excel file " />
                      </ice:panelGroup>
                      <ice:panelGroup>
                          <ice:dataTable value="#{testBean.itemList}"
                                         var="item"
                                         id="dataExportTable">
                              <ice:column>
                                  <f:facet name="header">
                                      <ice:outputText value="Column One"/>
                                  </f:facet>
                                  <ice:outputText value="#{item.itemOne}"/>
                              </ice:column>
                              <ice:column>
                                  <f:facet name="header">
                                      <ice:outputText value="Column Two"/>
                                  </f:facet>
                                  <ice:commandLink value="#{item.itemLink}">
                                      <f:param name="link" value="#{item.itemLink}"/>
                                  </ice:commandLink>
                              </ice:column>
                          </ice:dataTable>
                      </ice:panelGroup>
                  </ice:panelGroup>
              </ice:form>

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case [5007000000GuGTK]
        Arran Mccullough made changes -
        Attachment Case10083Example.war [ 13192 ]
        Ken Fyten made changes -
        Fix Version/s EE-1.8.2.GA_P03 [ 10251 ]
        Fix Version/s 2.0.2 [ 10273 ]
        Hide
        Ken Fyten added a comment -

        The fix is to not print out f:params during data export.

        Show
        Ken Fyten added a comment - The fix is to not print out f:params during data export.
        Ken Fyten made changes -
        Fix Version/s 2.1 [ 10241 ]
        Assignee Priority P2
        Assignee Adnan Durrani [ adnan.durrani ]
        Ken Fyten made changes -
        Fix Version/s EE-2.0.0.GA_P01 [ 10271 ]
        Fix Version/s 2.0.2 [ 10273 ]
        Ken Fyten made changes -
        Assignee Priority P2 P1
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24554 Wed May 11 22:24:37 MDT 2011 adnan.durrani Fix for ICE-6836 (DataExporter prints out f:param values in a commandLink)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/dataexporter/DataExporter.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24555 Wed May 11 22:25:37 MDT 2011 adnan.durrani Fix for ICE-6836 (DataExporter prints out f:param values in a commandLink)
        Files Changed
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/components/src/main/java/com/icesoft/faces/component/dataexporter/DataExporter.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24556 Wed May 11 22:26:19 MDT 2011 adnan.durrani Fix for ICE-6836 (DataExporter prints out f:param values in a commandLink)
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/dataexporter/DataExporter.java
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Adnan Durrani added a comment -

        Command: Commit
        Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\dataexporter\DataExporter.java
        Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\dataexporter\DataExporter.java
        Completed: At revision: 24554

        Show
        Adnan Durrani added a comment - Command: Commit Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\dataexporter\DataExporter.java Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\dataexporter\DataExporter.java Completed: At revision: 24554
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Adnan Durrani added a comment -

        Command: Commit
        Modified: D:\work\development\head\svn\ossrepo\icefaces2\branches\icefaces-2.0.x-maintenance\icefaces\compat\components\src\main\java\com\icesoft\faces\component\dataexporter\DataExporter.java
        Sending content: D:\work\development\head\svn\ossrepo\icefaces2\branches\icefaces-2.0.x-maintenance\icefaces\compat\components\src\main\java\com\icesoft\faces\component\dataexporter\DataExporter.java
        Completed: At revision: 24555

        Show
        Adnan Durrani added a comment - Command: Commit Modified: D:\work\development\head\svn\ossrepo\icefaces2\branches\icefaces-2.0.x-maintenance\icefaces\compat\components\src\main\java\com\icesoft\faces\component\dataexporter\DataExporter.java Sending content: D:\work\development\head\svn\ossrepo\icefaces2\branches\icefaces-2.0.x-maintenance\icefaces\compat\components\src\main\java\com\icesoft\faces\component\dataexporter\DataExporter.java Completed: At revision: 24555
        Hide
        Adnan Durrani added a comment -

        Command: Commit
        Modified: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\compat\components\src\main\java\com\icesoft\faces\component\dataexporter\DataExporter.java
        Sending content: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\compat\components\src\main\java\com\icesoft\faces\component\dataexporter\DataExporter.java
        Completed: At revision: 24556

        Show
        Adnan Durrani added a comment - Command: Commit Modified: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\compat\components\src\main\java\com\icesoft\faces\component\dataexporter\DataExporter.java Sending content: D:\work\development\head\svn\ossrepo\icefaces2\trunk\icefaces\compat\components\src\main\java\com\icesoft\faces\component\dataexporter\DataExporter.java Completed: At revision: 24556
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24558 Thu May 12 10:11:35 MDT 2011 ken.fyten Fix for ICE-6836 (DataExporter prints out f:param values in a commandLink) - fixed missing import for UICommand class.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/dataexporter/DataExporter.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24559 Thu May 12 10:19:49 MDT 2011 ken.fyten Fix for ICE-6836 (DataExporter prints out f:param values in a commandLink) - fixed missing import for UICommand class.
        Files Changed
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/components/src/main/java/com/icesoft/faces/component/dataexporter/DataExporter.java
        Hide
        Renuka Shah added a comment -

        I downloaded EE-1.8.2.GA_P03 and replaced old icefaces.jar, icefaces-facelets.jar and icefaces-comps.jar with new ones.
        I still see duplicate string in the exported data. Do I need to replace any other jar?

        Show
        Renuka Shah added a comment - I downloaded EE-1.8.2.GA_P03 and replaced old icefaces.jar, icefaces-facelets.jar and icefaces-comps.jar with new ones. I still see duplicate string in the exported data. Do I need to replace any other jar?
        Ken Fyten made changes -
        Fix Version/s 2.1-Beta [ 10291 ]
        Fix Version/s 2.1 [ 10241 ]
        Ken Fyten made changes -
        Fix Version/s 3.0 [ 10241 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Adnan Durrani
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: