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

        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
        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 #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
        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 #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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: