AF:exportCollectionActionListener

Hello
Has anyone tried to use JDev 11.1.2.3 af:exportCollectionActionListener?
Oracle demo HRSystem (link below) worked very well in JDev 11.1.1.6, but when you migrate to 11.1.2.3 and invoke the export to Excel, the page gets a strange behavior.
The Don t of navigation buttons work properly in the detail master 'departments' after export to Excel, and you get an error like:

ADF_FACES-60003 error: component with the ID: r1:1:cb1 not registered Active data.

http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm

TKS!

OK, I finally got the chance to do a few tests more. Yet once, for me, it looks like a bug, I'll drop in incidents ADF EMG Manager, using the samples you provided (thanks for that).

Let's see what Oracle or other members of the EMG of the ADF have to say about it. I'll post the link when I opened the default.

Now, for the workaround: it's Rima simple that all you have to do is to add partial triggers on the panelFormLayout and the table:

            
...
              
...

This will refresh the screen as it does automatically with jdev 11.1.1.6.0.

Timo

Published by: Timo Hahn on 22.10.2012 14:39

Open Bug http://java.net/jira/browse/ADFEMG-65 on ADFEMG Bug Tracker

Tags: Java

Similar Questions

  • On < af:exportCollectionActionListener >

    Hi experts,

    Well, I already give a beautiful paly with < af:exportCollectionActionListener > in conjunction with af:table in jdev11.1.1.5.0.

    give the worst games of

    < af:exportCollectionActionListener > in conjunction with < dvt:pivotTable >

    Q1: first fall asking my brain is the worst game?

    am go with this game
    <af:form id="f1">
            <af:panelGroupLayout layout="vertical" id="pgl1">
              <af:panelGroupLayout layout="vertical" id="pgl2">
                <af:panelHeader text="PivotTable1" id="ph1">
                  <af:query id="qryId1" headerText="Search" disclosed="true"
                            value="#{bindings.PivotTableCriteriaQuery.queryDescriptor}"
                            model="#{bindings.PivotTableCriteriaQuery.queryModel}"
                            queryListener="#{bindings.PivotTableCriteriaQuery.processQuery}"
                            queryOperationListener="#{bindings.PivotTableCriteriaQuery.processQueryOperation}"/>
                  
                </af:panelHeader>
              </af:panelGroupLayout>
              
              <af:toolbar id="t1">
                    <af:commandToolbarButton text="commandToolbarButton 1"
                                             id="ctb1">
                      <af:exportCollectionActionListener type="excelHTML"
                                                         exportedId="pivotTable1"/>
                    </af:commandToolbarButton>
                  </af:toolbar>
              <dvt:pivotFilterBar id="pivotTable1pivotFilterBar"
                                  value="#{bindings.PivotTable1.pivotFilterBarModel}"
                                  modelName="pivotTable1Model"
                                  rendered="#{bindings.PivotTable1.estimatedRowCount ne 0 ? true : false}"
                                  inlineStyle="width:100.0%;"/>
              <dvt:pivotTable id="pivotTable1"
                              value="#{bindings.PivotTable1.pivotTableModel}"
                              modelName="pivotTable1Model" sizing="auto"
                              statusBarRendered="true" inlineStyle="width:100.0%;"/>
            </af:panelGroupLayout>
          </af:form>
    the result of this game of worse in the integrated journal of wls:
    < ExportCollectionActionListener > < processAction > exported collection whose ID: pivotTable1 not found.

    but this info does seem to be that my game is worse, this info leads me to another question?

    Unable to create the Q2:Listener table. ? but id of table is...

    can someone point out where am?

    am a bit curious... with the game with components with a combination.
    and our customer expection also some like that.

    DNT get someone angry on me. If so, forgive me for this kind of game.

    Thank you & & looks
    ADF7.

    You can ignore the error of design (I guess when running you have found the desired result). Maybe the DT don't think that commandToolbarButton is an invalid parent for her.

    Arun-

  • exportCollectionActionListener have filterMethod, filterName in 11.1.1.9.0

    Hi all

    I just installed 11.1.1.9.0.

    I implemented the export to Excel feature in my new application. I just noticed she has two new properties filterMethod, filterName, who was not present in 11.1.1.7.

    I couldn't find this doc for 12 c with some details for these properties

    https://docs.Oracle.com/middleware/1212/ADF/TROAF/tagdoc/af_exportCollectionActionListener.html

    Isn't there any more detailed documentation/example / usage of these methods.


    Kind regards

    Deepti

    Check out https://tompeez.wordpress.com/2015/06/26/export-to-excel-enhancements-in-jdeveloper-11-1-1-9-0-and-jdeveloper-12-1-3/

    Timo

  • Caused by: java.sql.SQLException: setMaxRows() out of reach. 2147483647 &gt; 50000000

    I use Oracle jDeveloper 12 c. When I try to export the table to Excel, I'm the exception. It was working fine before.

    Here is the stack trace.


    oracle.jbo.SQLStmtException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-27122. Error message parameters are {0=select * from wd.portfolio_master}
      at oracle
    .jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1432)
      at oracle
    .jbo.server.QueryCollection.executeQuery(QueryCollection.java:976)
      at oracle
    .jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:7849)
      at oracle
    .jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1398)
      at oracle
    .jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1665)
      at oracle
    .jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1549)
      at oracle
    .jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1529)
      at oracle
    .jbo.server.ViewObjectImpl.getFinderRS(ViewObjectImpl.java:18591)
      at oracle
    .jbo.server.ViewObjectImpl.getAllRowsIterator(ViewObjectImpl.java:18025)
      at oracle
    .jbo.uicli.binding.JUCtrlHierNodeBinding.getAllChildrenNodesIterator(JUCtrlHierNodeBinding.java:937)
      at oracle
    .jbo.uicli.binding.JUCtrlHierNodeBinding$IterateOnlyArrayList.iterator(JUCtrlHierNodeBinding.java:815)
      at oracle
    .adfinternal.view.faces.model.binding.OptimizedRowDataManager.setRowIndex(OptimizedRowDataManager.java:58)
      at oracle
    .adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowIndex(FacesCtrlHierBinding.java:921)
      at org
    .apache.myfaces.trinidad.component.UIXCollection.setRowIndex(UIXCollection.java:572)
      at org
    .apache.myfaces.trinidad.component.UIXTable.setRowIndex(UIXTable.java:782)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector._renderAllDataRows(CollectionExportDirector.java:512)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector._renderDataRows(CollectionExportDirector.java:447)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector._renderContent(CollectionExportDirector.java:127)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector.export(CollectionExportDirector.java:109)
      at oracle
    .adfinternal.view.faces.export.ExportCollectionActionListener.processAction(ExportCollectionActionListener.java:199)
      at javax
    .faces.event.ActionEvent.processListener(ActionEvent.java:88)
      at org
    .apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:1113)
      at org
    .apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
      at oracle
    .adf.view.rich.component.rich.nav.RichCommandMenuItem.broadcast(RichCommandMenuItem.java:105)
      at org
    .apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
      at oracle
    .adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
      at oracle
    .adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)
      at org
    .apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
      at oracle
    .adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
      at oracle
    .adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)
      at javax
    .faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
      at javax
    .faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
      at oracle
    .adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)
      at oracle
    .adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)
      at oracle
    .adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax
    .faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic
    .servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic
    .servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic
    .servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic
    .servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
      at weblogic
    .servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at oracle
    .adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)
      at org
    .apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at org
    .apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
      at org
    .apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
      at org
    .apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
      at org
    .apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      at org
    .apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
      at org
    .apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
      at org
    .apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
      at org
    .apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
      at org
    .apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
      at org
    .apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
      at org
    .apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
      at org
    .apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java
    .security.AccessController.doPrivileged(Native Method)
      at oracle
    .security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle
    .security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle
    .security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle
    .security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle
    .security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic
    .servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic
    .servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
      at weblogic
    .servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
      at weblogic
    .security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic
    .security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic
    .servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic
    .servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
      at weblogic
    .servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
      at weblogic
    .servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic
    .servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
      at weblogic
    .servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
      at weblogic
    .work.ExecuteThread.execute(ExecuteThread.java:311)
      at weblogic
    .work.ExecuteThread.run(ExecuteThread.java:263)
    **Caused By: java.sql.SQLException: setMaxRows() out of range. 2147483647 > 50000000.**
      at com
    .mysql.jdbc.SQLError.createSQLException(SQLError.java:1058)
      at com
    .mysql.jdbc.SQLError.createSQLException(SQLError.java:972)
      at com
    .mysql.jdbc.SQLError.createSQLException(SQLError.java:958)
      at com
    .mysql.jdbc.SQLError.createSQLException(SQLError.java:903)
      at com
    .mysql.jdbc.StatementImpl.setMaxRows(StatementImpl.java:2758)
      at weblogic
    .jdbc.wrapper.PreparedStatement_com_mysql_jdbc_JDBC4PreparedStatement.setMaxRows(Unknown Source)
      at oracle
    .jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1346)
      at oracle
    .jbo.server.QueryCollection.executeQuery(QueryCollection.java:976)
      at oracle
    .jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:7849)
      at oracle
    .jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1398)
      at oracle
    .jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1665)
      at oracle
    .jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1549)
      at oracle
    .jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1529)
      at oracle
    .jbo.server.ViewObjectImpl.getFinderRS(ViewObjectImpl.java:18591)
      at oracle
    .jbo.server.ViewObjectImpl.getAllRowsIterator(ViewObjectImpl.java:18025)
      at oracle
    .jbo.uicli.binding.JUCtrlHierNodeBinding.getAllChildrenNodesIterator(JUCtrlHierNodeBinding.java:937)
      at oracle
    .jbo.uicli.binding.JUCtrlHierNodeBinding$IterateOnlyArrayList.iterator(JUCtrlHierNodeBinding.java:815)
      at oracle
    .adfinternal.view.faces.model.binding.OptimizedRowDataManager.setRowIndex(OptimizedRowDataManager.java:58)
      at oracle
    .adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowIndex(FacesCtrlHierBinding.java:921)
      at org
    .apache.myfaces.trinidad.component.UIXCollection.setRowIndex(UIXCollection.java:572)
      at org
    .apache.myfaces.trinidad.component.UIXTable.setRowIndex(UIXTable.java:782)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector._renderAllDataRows(CollectionExportDirector.java:512)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector._renderDataRows(CollectionExportDirector.java:447)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector._renderContent(CollectionExportDirector.java:127)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector.export(CollectionExportDirector.java:109)
      at oracle
    .adfinternal.view.faces.export.ExportCollectionActionListener.processAction(ExportCollectionActionListener.java:199)
      at javax
    .faces.event.ActionEvent.processListener(ActionEvent.java:88)
      at org
    .apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:1113)
      at org
    .apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
      at oracle
    .adf.view.rich.component.rich.nav.RichCommandMenuItem.broadcast(RichCommandMenuItem.java:105)
      at org
    .apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
      at oracle
    .adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
      at oracle
    .adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)
      at org
    .apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
      at oracle
    .adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
      at oracle
    .adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)
      at javax
    .faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
      at javax
    .faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
      at oracle
    .adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)
      at oracle
    .adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)
      at oracle
    .adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax
    .faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic
    .servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic
    .servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic
    .servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic
    .servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
      at weblogic
    .servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at oracle
    .adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)
      at org
    .apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at org
    .apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
      at org
    .apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
      at org
    .apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
      at org
    .apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      at org
    .apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
      at org
    .apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
      at org
    .apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
      at org
    .apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
      at org
    .apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
      at org
    .apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
      at org
    .apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
      at org
    .apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java
    .security.AccessController.doPrivileged(Native Method)
      at oracle
    .security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle
    .security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle
    .security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle
    .security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle
    .security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic
    .servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic
    .servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
      at weblogic
    .servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
      at weblogic
    .security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic
    .security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic
    .servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic
    .servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
      at weblogic
    .servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
      at weblogic
    .servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic
    .servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
      at weblogic
    .servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
      at weblogic
    .work.ExecuteThread.execute(ExecuteThread.java:311)
      at weblogic
    .work.ExecuteThread.run(ExecuteThread.java:263)

    Hello.. I found the Solution. In the ViewPageDef.xml file, there is a RangeSize which was set to 25 by default.

    i.e.

    RangeSize = "25" DataControl = "PortfoliosAppModuleDataControl."

    ID = "PortfolioStakeHoldersVO1Iterator" / >

    I changed it to

    RangeSize = "200" DataControl = "PortfoliosAppModuleDataControl."

    ID = "PortfolioStakeHoldersVO1Iterator" / >

    Its working fine.

    Thank you very much for your support.

  • Error exporting Excel selected lines

    Hello

    I work at an application in ADF 12.1.3.0.0

    I have a table and I would like to export to excel with lines of all lines and Selected options.

    I created a menu with two options. I added an export Collection Action Listener for menus, for all lines works fine but the selected lines does not find because it shows only a last selected row.

    Initially, the selection of rows in table property was one, but later I changed to the multiple. I see on the table of buttom that I selected several lines, but when I press the button "Exportar an Excel columns Seleccionadas" (Export to Excel columns selected) the downloaded file has only the last column selected.

    What is going on?

    Code:

    ...

    < f: facet = 'menu' name >

    < text af:menu = 'File' id = 'm2 '.

    Binding = "#{backingBeanScope.backing_cabeceraRecepcion.m2}" >

    < af:commandMenuItem text = "Exportar an Excel all columns" id = "cmi1.

    Binding = "#{backingBeanScope.backing_cabeceraRecepcion.cmi1}" >

    < af:exportCollectionActionListener type = "excelHTML".

    exportedId = "resId1".

    filename = "TodosPedidosRecepcionar.xls"

    title = "Todos los orders a Recepcionar" / >

    < / af:commandMenuItem >

    < af:commandMenuItem text = "Exportar an Excel columns Seleccionadas.

    ID = "cmi3.

    Binding = "#{backingBeanScope.backing_cabeceraRecepcion.cmi3} '"

    immediate = "true" >

    < af:exportCollectionActionListener type = "excelHTML".

    exportedId = "resId1".

    exportedRows = "selected".

    filename = "PedidosRecepcionarSeleccionados.xls"

    title = "orders a Recepcionar became" / >

    < / af:commandMenuItem >

    < af:commandMenuItem text = "Show in una page" id = "cmi2.

    Binding = "#{backingBeanScope.backing_cabeceraRecepcion.cmi2}" >

    < af:showPrintablePageBehavior / >

    < / af:commandMenuItem >

    < / af:menu >

    < / f: facet >

    < name f: facet = "toolbar" / >

    < name f: facet = 'bar of Θtat' / >

    < af:table value = "#{bindings." F4311_Recepcion_Group_queryVO1.collectionModel}.

    var = "row".

    lines = ' #{bindings. " F4311_Recepcion_Group_queryVO1.rangeSize}.

    emptyText = "#{bindings." F4311_Recepcion_Group_queryVO1.viewable? "{'No data to display.': 'Access Denied.'}".

    selectedRowKeys = ' #{bindings. " F4311_Recepcion_Group_queryVO1.collectionModel.selectedRow}.

    selectionListener = "#{bindings." F4311_Recepcion_Group_queryVO1.collectionModel.makeCurrent}.

    rowSelection = "multiple".

    fetchSize = "#{bindings." F4311_Recepcion_Group_queryVO1.rangeSize}.

    filterModel = "#{bindings." ImplicitViewCriteriaQuery.queryDescriptor}.

    queryListener = ' #{bindings. " ImplicitViewCriteriaQuery.processQuery}.

    varStatus = 'vs' id = 'resId1 '.

    Binding = "#{backingBeanScope.backing_cabeceraRecepcion.resId1} '"

    columnBandingInterval = '0' scrollPolicy = "scroll".

    autoHeightRows = "10" filterVisible = "true".

    columnStretching = "multiple" styleClass = "AFStretchWidth" >

    < af:column sortProperty = "#{bindings." F4311_Recepcion_Group_queryVO1.hints.Pdkcoo.name}.

    filterable = "true" sortable = "true".

    headerText = "#{bindings." F4311_Recepcion_Group_queryVO1.hints.Pdkcoo.label}.

    ID = "resId1c1" minimumWidth = "12" width = "100" >

    < af:outputText value = "#{rank." Pdkcoo}.

    shortDesc = "#{bindings." F4311_Recepcion_Group_queryVO1.hints.Pdkcoo.ToolTip}.

    ID = "ot1" / >

    < / af:column >

    ...

    Thank you

    Alfre.

    Alfre,

    Remove the line below and see if it is and no difference.

    selectedRowKeys = ' #{bindings. " F4311_Recepcion_Group_queryVO1.collectionModel.selectedRow}.

    Check out the link for more details below:

    https://blogs.Oracle.com/ADF/entry/getting_all_selected_rows_in_adf_table_with_multiple_rows_selection_enabled

    See you soon

    AJ

  • Export only some columns in export to excel instead of all?


    Hello world

    My version of Jdev is 11.1.2.3.0.
    I created a page in the ADF, in which I added an adf:table and a button to export to Excel.
    Added 'af:exportCollectionActionListener' to the export to excel button. Export works very well.

    But the client only needs a few columns in the exported file, means table has 24 columns, but when I click the button, it will show all
    24 columns in the Excel sheet to the place I need to export only some columns (specified) in the Excel worksheet.


    Note: Table shows all the columns (24), but when you export only some columns specified must be exported.

    How can I get this requirement?

    your suggestions will be really useful...

    Thank you.

    Hello

    I tested the use of prescription case. It works very well with the below code mode.

    It is very easy to achieve using

                   

                   

    Regardless of the column, you don't want to export, use attribute visible to handle those as below

    visible = "#{pageFlowScope.hideSomeColumns not 'true'} '"

  • ADF Table Excel Export

    Hi friends!

    I use Jdev 11.1.2.3.0

    I have to approach when you export a table to CSV

    FIRST APPROACH (export Excel):

    the first is the very well know to use a

    <af:commandButton text="test" id="btnExport">
              <af:exportCollectionActionListener type="excelHTML" exportedId="tbItms"/>
    </af:commandButton>
    
    
    

    where tbItms is the id of the table that contains the data.

    Well, this table has a column where I need to show the lines separated by lines of rupture

    such as:

    Column 1 Column 2 Column 3
    blahblahblahblah

    column2stuff column2stuff column2stuff column2stuff

    column2stuff column2stuff column2stuff column2stuff

    column2stuff column2stuff column2stuff column2stuff

    blahblahblahblah
    blahblahblahblah

    column2stuff column2stuff column2stuff column2stuff

    column2stuff column2stuff column2stuff column2stuff

    column2stuff column2stuff column2stuff column2stuff

    blahblahblahblah

    You see to Column2? Well, I tried this in my session façade by adding "\n" at the end of the line, but without success

    SECOND APPROACH (export to CSV format):

    I do the same thing by adding the '\n '.

    but I use:

    <af:commandButton text="Exportar" id="btnExportar" immediate="true"
                                          binding="#{backingBeanScope.backing_transporte_factura_frm_consultar_pre_factura.btnExportar}">
                            <af:fileDownloadActionListener filename="pre_factura.csv" contentType="text/csv"
                                                       method="#{backingBeanScope.backing_transporte_factura_frm_consultar_pre_factura.exportData}"/>
                        </af:commandButton>
    
    
    

        public void exportData(FacesContext facesContext, OutputStream outputStream) throws IOException,
                                                                                            WriteException {
            BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(outputStream,"UTF-8"));
            List<BeanItemPreFactura> lstBeanItmsPF = beanSessionConsPreFactura.getLstBeanItemPreFactura();
            writer.write("ORDEN");       writer.write(SEPARADOR_CSV);writer.write("GUIAS");   writer.write(SEPARADOR_CSV);
            writer.write("DESCRIPCION"); writer.write(SEPARADOR_CSV);writer.write("DESTINO"); writer.write(SEPARADOR_CSV);
            writer.write("CLIENTE");     writer.write(SEPARADOR_CSV);writer.write("SUBTOTAL");writer.write(SEPARADOR_CSV);
            writer.write("IGV SUBTOTAL");writer.write(SEPARADOR_CSV);writer.write("TOTAL");
            writer.newLine();
            Iterator it = lstBeanItmsPF.iterator();
            while(it.hasNext()){
                BeanItemPreFactura guia = (BeanItemPreFactura) it.next();
                writer.write(guia.getOrden()+"");          writer.write(SEPARADOR_CSV);
                writer.write(guia.getGuiasConcat()+"");    writer.write(SEPARADOR_CSV);
                writer.write(guia.getGuiasItmsConcat()+"");writer.write(SEPARADOR_CSV);
                writer.write(guia.getDestino()+"");        writer.write(SEPARADOR_CSV);
                writer.write(guia.getCliente()+"");        writer.write(SEPARADOR_CSV);
                writer.write(guia.getSubtotal()+"");       writer.write(SEPARADOR_CSV);
                writer.write(guia.getIgvSubtotal()+"");    writer.write(SEPARADOR_CSV);
                writer.write(guia.getTotalItem()+"");      writer.write(SEPARADOR_CSV);
                writer.newLine();
            }
            writer.flush(); 
            writer.close();
        }
    
    
    
    

    And when I export the CSV format due to line breaks "\n" I get it like this: the \n create new lines in the excel worksheet

    ,
    Column 1column 2column 3
    blahblahblahblah

    column2stuff column2stuff column2stuff column2stuff

    blahblahblahblahcolumn2stuff column2stuff column2stuff column2stuffblahblahblahblah

    The second approach was taken: http://sreevardhanadf.blogspot.com/2012/05/exporting-master-child-data-to-file.html#comment-form

    but he did in the usual way (without having to create new lines within a cell) I tried to use \r\n but without success

    Help, please

    Thank you! I followed this tutorial http://www.techartifact.com/blogs/2013/08/generate-excel-file-in-oracle-adf-using-apache-poi.html and I did for the automatic height like this: row.setHeightInPoints ((number * sheet.getDefaultRowHeightInPoints ())); where number represents the amount of lines + 1A Column2 in my example, and this worked thanks!

  • ExportCollectionAction causes the current values of lines to be copied into the first row of the table

    Greetings experts,

    I use JDev 11.1.2.3

    I am faced with a really strange behavior of the exportCollectionActionListener. I have a table for each row in this table, a link that calls a popUp. This popUp tells the story of this selected save changes (means it displays data from a different table/VO, who keeps a history of the first) in a table. I have a button that calls the exportCollection for this second table. When I press on it, an excel file is generated and downloaded and everything is perfect until now. If there was not any which record in this table, and o back to the first, by pressing the button send is not track all changes. But if there where all records from this table of history (always talking about the history of the current line), go back to the first and press on submit, that the very first line of the table of fir trees, gets all of it's values as the last row of the second table, as it is copied from one to the other. I have to press on restore back to normal (note that the popUp has it's CancelListener to call a restore of a bean to support operation).

    Why is this happening?

    Thanks in advance

    I found a work around for this problem.

    I added the code that causes the whole view Refresh (ie: the whole page), the popUp cancelListener, also I changed the commandLink partialSubmit property and set it to true. It's not like totally cool watching the screen charge for this fragment of a second after the closure of the pop-up window, but it not the drill.

  • Customize the search results

    JDev ADF BC 11.1.2.3.0

    I have a page of research of a display test (query with Panel). What I want to achieve, it is that the user should be able to reduce or increase the number of columns in the result table. As my array of result will be to have an option to 'Export to Excel', some users can not all the columns to export. User must have the provisions to achieve this and save this for the next connection.

    Hello
    the default exportCollectionActionListener only export the visible columns in the table.
    to save the configuration of the user, you must use a MDS in your application.
    http://docs.Oracle.com/CD/E16764_01/Web.1111/b31974/customize.htm

  • Table data ADF export to Excel

    I want to export data into an excel file. I used following code;

    < af:exportCollectionActionListener type = "excelHTML" exportedId = "t1".
    filename = "Export.xls"
    title = "Export ADF faces" / >

    It works fine, but I more than 65 k lines, which is not supported with xls files. How can I generate format xlsx with ADF?

    JDeveloper 11.1.1.3 is used in my project, and can't change that. None of the options pls?

    Thank you

    Hello..
    You can export to excel as .xlsx using the Apache POI library

    http://www.roseindia.NET/tutorials/POI/ApachePoiCreateXlsx.shtml

  • Command button to be clicked

    Hello..

    I create an application that has a table. I created a button command (cb1) and inserted a "exportCollectionActionListener" to this button. Now, when I click on the cb1 excel file will be downloaded. I want to download the excel file without clicking this command buuton.

    I do a binding for the command button. Now I can access my bean command button. I want to do 'exportCollectionActionListener' to be worked created bean.

    If anyone knows how to click a button on remote control or call the 'exportCollectionActionListener' of a bean, please tell me.

    Thank you
    Durieux.

    You can do if you have a reference to the button in your bean

            // yourButton   is of type RichCommandButton or RichCommandToolbarButton
            ActionEvent ae = new ActionEvent(yourButton);
            ae.queue();
    

    Timo

  • How to export to Excel operation programattically in ADF 11 g

    Hello
    I want to run the export to Excel operation programattically, is this posible in ADF 11 g. If it so that you can give me please your ideas?

    Kind regards
    Felix

    Hello

    Timo is correct on this one. What you can try is the following

    1 drop af:exportCollectionActionListener on a command button
    2. set the control knob to display = false
    3. in your Java code, call

    ActionEvent ae = new ActionEvent (button);
    AE.queue ();

    This should do the trick. Can you confirm if this worked for you?

    Frank

  • Can we call a method before and after the operations of export in ADF 11 g

    Hello
    My problem is that I have to run a method before and after the export operation. Is this posible in ADF 11 g

    Kind regards
    Felix

    Hello

    in response to a post of similatr of yours, I said

    1 drop af:exportCollectionActionListener on a command button
    2. set the control knob to display = false
    3. in your Java code, call

    ActionEvent ae = new ActionEvent (button);
    AE.queue ();

    Everything you put in front

    ActionEvent ae = new ActionEvent (button);
    AE.queue ();

    will be like a before trigger fires, everything that follows as a trigger of post

    Frank

  • A reference to a component on a fragment of a page within a &lt; af:region &gt;.

    Hello

    ADF Faces RC with JDeveloper 11.1.1.1.0.

    Currently I have a scenario where I have a page that contains a dynamic region based on a selection of the user on the page that I went to a different workflow consisting of a fragment of a page inside my dynamic region.

    When you try to add a 'Export to Excel' button on the home page (not within the region), using a < af:commandButton > that contains a < af:exportCollectionActionListener > one of the required attributes is a 'ExportedId '. So I created a string backing bean "excelExportId" variable, I put the "ExportedId" attribute to use via EL. I want that it contains the Id of the table contained in the page fragment which is currently made in the dynamic region. This is the problem, if I try to reference the Id of the table, I get a "SEVERE: collection whose ID has exported: Mason was not found." message in the server logs. I also tried adding the Id of the region before the table Id with no luck. i.e. ": r1::tabSum".

    So my question is... How do make you reference to a component that exists on a page within a dynamic region fragment of the of your page (i.e. on the region) by its ID.

    Thank you
    Matthew.

    have you tried 'r1:tabSum' instead of ': r1::tabSum '?

    Edited by: puthanampatti 21 October 2009 19:34

  • listener of the collection action AF:export

    Hi all

    I want to use af:ExportCollectionActionListener to allow users to download the details of the table. But I think a problem here. Download excel sheet does not contain hidden columns. Can adapt us this behavior to include the hidden in the excel worksheet columns. Help is appreciated.

    Thnx in advance
    N

    Hello

    Select the table in the Visual editor then oprn property palette. You find the property of "Link" that you create a metod and EL refers to (just use the button that displays on the right). This has nothing to do with value binding you get through ADF

    Frank

Maybe you are looking for

  • HP Envy Phoenix 810-160: hard drive crash?

    Hello My desktop computer has been acting lately. Before start time allows to be very fast, but now is the time to start take much more time. Then when I want to start the computer, it looks like not detected media presence and try to start on the ne

  • "communication not available with the printer" message when you try to print to a Lexmark 1270 x all-in-one

    I am running windows xp family.  I don't know what happened, but all of a sudden, I get this message when I try and print to my lexmark x 1270 "communication not available with the printer. I tried every troubleshooter, I contacted Lexmark support th

  • PC don't see my webcam

    I have a hp pavilion dv 6815nr laptopI reinstall the os vista home prem with built-in toolseverything worked fine but my pc do not feel my webcam it is a uv-3ooo livecam microsoftI installed the drive for the webcam of sit microsoft webthe cam worked

  • How can I fix error

    When you try to install the dates it fails with an error code that usually leave so far

  • router problems

    whenever I turn on my computer from standby mode, hibernation, or turn off my wifi router disables access to internet for all currencies to use. It still says im connected to the router but it says no internet access