ICEfaces
  1. ICEfaces
  2. ICE-8759

compat ice:dataExporter, column labels aren't exported when inside ice:commandSortHeader

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      The compat ice:dataExporter doesn't seem to process ice:commandSortHeader components inside header facets. When the column label is inside this component, it won't appear in the exported excel file. The following markup illustrates this scenario:

        Activity

        Migration created issue -
        Hide
        Arturo Zambrano added a comment - - edited

        <ice:column>
        <f:facet name="header">
        <ice:commandSortHeader columnName="ID" arrow="true" >
        <ice:outputText value="ID"/>
        </ice:commandSortHeader>
        </f:facet>
        <ice:outputText value="#

        {car.id}"/>
        </ice:column>

        was:
        The compat ice:dataExporter doesn't seem to process ice:commandSortHeader components inside header facets. When the column label is inside this component, it won't appear in the exported excel file. The following markup illustrates this scenario:


        <ice:column>
        <f:facet name="header">
        <ice:commandSortHeader columnName="ID" arrow="true" >
        <ice:outputText value="ID"/>
        </ice:commandSortHeader>
        </f:facet>
        <ice:outputText value="#{car.id}

        "/>
        </ice:column>

        Show
        Arturo Zambrano added a comment - - edited <ice:column> <f:facet name="header"> <ice:commandSortHeader columnName="ID" arrow="true" > <ice:outputText value="ID"/> </ice:commandSortHeader> </f:facet> <ice:outputText value="# {car.id}"/> </ice:column> was: The compat ice:dataExporter doesn't seem to process ice:commandSortHeader components inside header facets. When the column label is inside this component, it won't appear in the exported excel file. The following markup illustrates this scenario: <ice:column> <f:facet name="header"> <ice:commandSortHeader columnName="ID" arrow="true" > <ice:outputText value="ID"/> </ice:commandSortHeader> </f:facet> <ice:outputText value="#{car.id} "/> </ice:column>
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32138 Tue Nov 13 14:46:53 MST 2012 art.zambrano ICE-8759 added logic to export contents of ice:commandSortHeader components inside column header
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/dataexporter/DataExporter.java
        Hide
        Arturo Zambrano added a comment - - edited

        Committed fix to trunk at revision 32138. Added logic to support ice:commandSortHeader components in the exporting process.

        Show
        Arturo Zambrano added a comment - - edited Committed fix to trunk at revision 32138. Added logic to support ice:commandSortHeader components in the exporting process.
        Migration made changes -
        Field Original Value New Value
        Reporter Migration [ remote ] Arturo Zambrano [ artzambrano ]
        Migration made changes -
        Description
        The compat ice:dataExporter doesn't seem to process ice:commandSortHeader components inside header facets. When the column label is inside this component, it won't appear in the exported excel file. The following markup illustrates this scenario:


                        <ice:column>
                            <f:facet name="header">
        <ice:commandSortHeader columnName="ID" arrow="true" >
                                <ice:outputText value="ID"/>
        </ice:commandSortHeader>
                            </f:facet>
                            <ice:outputText value="#{car.id}"/>
                        </ice:column>
        The compat ice:dataExporter doesn't seem to process ice:commandSortHeader components inside header facets. When the column label is inside this component, it won't appear in the exported excel file. The following markup illustrates this scenario:
        Migration made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Migration made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: