Details
- 
        Type:
 Bug
            
         - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Fixed
 - 
            Affects Version/s: 1.8.2-EE-GA_P02, 2.0.1, EE-2.0.0.GA
 - 
            Fix Version/s: EE-1.8.2.GA_P03, 2.1-Beta, 3.0, EE-2.0.0.GA_P01
 - 
            Component/s: ICE-Components
 - 
            Labels:None
 - 
            Environment:All
 
- 
                        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>
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>
The fix is to not print out f:params during data export.