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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: