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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: