Forum Stats

  • 3,838,819 Users
  • 2,262,400 Discussions
  • 7,900,762 Comments

Discussions

exportCollectionActionListener gives errror when selectBooleanCheckbox in column

KdeGraaf
KdeGraaf Member Posts: 678 Blue Ribbon
edited Jun 25, 2019 3:41AM in JDeveloper and ADF

Hi all,

I'm using JDEV 12.2.1.3 and I'm having a problem when I want to export a table to Excel.

When the table contains a checkbox the the export contains only the headers and the first line and then "Export is incomplete due to error ."

When I remove the last column containing the checkbox the export is working fine.

Is there a workaround for this issue?

Thanks Klaas

                <af:table value="#{bindings.LinesAndSplitLinesLB1.collectionModel}" var="row" rows="#{bindings.LinesAndSplitLinesLB1.rangeSize}" emptyText="#{bindings.LinesAndSplitLinesLB1.viewable ? AproEBPartialProcessingViewControllerBundle.NO_DATA_TO_DISPLAY_ : AproEBPartialProcessingViewControllerBundle.ACCESS_DENIED_}" rowBandingInterval="0" rowSelection="multiple" fetchSize="#{bindings.LinesAndSplitLinesLB1.rangeSize}" filterModel="#{bindings.LinesAndSplitLinesLB1Query.queryDescriptor}" queryListener="#{bindings.LinesAndSplitLinesLB1Query.processQuery}" varStatus="vs" id="t3" columnStretching="last" horizontalGridVisible="false" verticalGridVisible="false" binding="#{pageFlowScope.PartialProcessingBean.tableLbLines}" selectionListener="#{bindings.LinesAndSplitLinesLB1.collectionModel.makeCurrent}">                   <af:column sortProperty="#{bindings.LinesAndSplitLinesLB1.hints.OriginalLine.name}" filterable="true" sortable="true" headerText="#{bindings.LinesAndSplitLinesLB1.hints.OriginalLine.label}" id="c118">                     <af:outputText value="#{row.OriginalLine}" shortDesc="#{bindings.LinesAndSplitLinesLB1.hints.OriginalLine.tooltip}" id="ot118"/>                   </af:column>                    <af:column sortProperty="#{bindings.LinesAndSplitLinesLB1.hints.RunNumber.name}" filterable="true" sortable="true" headerText="#{bindings.LinesAndSplitLinesLB1.hints.RunNumber.label}" id="c150">                     <af:outputText value="#{row.RunNumber}" shortDesc="#{bindings.LinesAndSplitLinesLB1.hints.RunNumber.tooltip}" id="ot149">                       <af:convertNumber groupingUsed="false" pattern="#{bindings.LinesAndSplitLinesLB1.hints.RunNumber.format}"/>                     </af:outputText>                   </af:column>                    <af:column sortProperty="#{bindings.LinesAndSplitLinesLB1.hints.FileId.name}" filterable="true" sortable="true" headerText="#{bindings.LinesAndSplitLinesLB1.hints.FileId.label}" id="c151">                     <af:outputText value="#{row.FileId}" shortDesc="#{bindings.LinesAndSplitLinesLB1.hints.FileId.tooltip}" id="ot150">                       <af:convertNumber groupingUsed="false" pattern="#{bindings.LinesAndSplitLinesLB1.hints.FileId.format}"/>                     </af:outputText>                   </af:column>                    <af:column sortProperty="#{bindings.LinesAndSplitLinesLB1.hints.InstanceId.name}" filterable="true" sortable="true" headerText="#{bindings.LinesAndSplitLinesLB1.hints.InstanceId.label}" id="c152">                     <af:outputText value="#{row.InstanceId}" shortDesc="#{bindings.LinesAndSplitLinesLB1.hints.InstanceId.tooltip}" id="ot151">                       <af:convertNumber groupingUsed="false" pattern="#{bindings.LinesAndSplitLinesLB1.hints.InstanceId.format}"/>                     </af:outputText>                   </af:column>                  <af:column headerText="#{bindings.LinesAndSplitLinesLB1.hints.ExternalInvoiceFound.label}" id="c115">                    <af:selectBooleanCheckbox value="#{row.bindings.ExternalInvoiceFound.inputValue}" label="#{row.bindings.ExternalInvoiceFound.label}"                                              shortDesc="#{bindings.LinesAndSplitLinesLB1.hints.ExternalInvoiceFound.tooltip}" id="sbc3"/>                  </af:column>                </af:table>
Tagged:
«1

Answers