ADF Faces Export - All to CSV dose not export the table correctly

Hi ,
I followed the source code of this demo site( http://rcf.us.oracle.com:9008/faces-12.1.2.0.0/faces/components/table.jspx) to create two buttons to export a table to CSV file, one is to export all rows and one is to export the selected rows.
The problem is the export all will generate a html file which dose not have the table content and the selected one works nicely except when I selected all rows than click export selected, it also generates the same html file as export all. The exception at the log on weblogic server and my source code are as below. Thank you!
My jsff source code:
<af:commandToolbarButton text="#{DataObjectBundle.EXPORTALL}" immediate="true" icon = "/images/export_all.png"
id="exportAll">
<af:exportCollectionActionListener type="CSV" exportedId="t8" filename="export.csv" title="ADF Faces Export - All"
charset="utf-8" exportedRows="all"/>
</af:commandToolbarButton>
<af:commandToolbarButton text="#{DataObjectBundle.EXPORTSELECTED}" immediate="true" icon="/images/export.png"
id="exportSelected">
<af:exportCollectionActionListener type="CSV" exportedId="t8"
filename="export.csv" title="ADF Faces Export - Selected Rows" charset="utf-8" exportedRows="selected"/>
</af:commandToolbarButton>
</af:toolbar>
</f:facet>
<f:facet name="statusbar"/>
<af:table rowSelection="multiple" var="row" rowBandingInterval="0" partialTriggers="::addRow ::editRow"
summary="#{DesignerBundle.EMPTY}" styleClass="AFStretchWidth"
value="#{pageFlowScope.item.dataSupport.rows}"
editingMode="clickToEdit" binding="#{pageFlowScope.item.dataSupport.table}"
inlineStyle="border-color:Gray; border-style:solid; border-width:1.0px;" id="t8">
Exception on WLS log:
java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.apache.myfaces.trinidad.model.CollectionModel
at oracle.adfinternal.view.faces.export.TableContentProvider.getCollectionModel(TableContentProvider.java:42)
at oracle.adfinternal.view.faces.export.CollectionExportDirector._renderAllDataRows(CollectionExportDirector.java:477)
at oracle.adfinternal.view.faces.export.CollectionExportDirector._renderSelectedDataRows(CollectionExportDirector.java:559)
at oracle.adfinternal.view.faces.export.CollectionExportDirector._renderDataRows(CollectionExportDirector.java:452)
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:986)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:123)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:107)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:101)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:759)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:444)
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:341)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
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.beam.composer.BeamComposerFilter.doFilter(BeamComposerFilter.java:118)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
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:225)
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:3323)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3289)
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:2176)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2102)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2080)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1567)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
Edited by: 993119 on Apr 18, 2013 1:27 PM
Edited by: 993119 on Apr 18, 2013 1:28 PM
Edited by: 993119 on Apr 18, 2013 1:45 PM

The url you provided tells me that you are an Oracle employee and that you using a version which is not available to the public.
Please post your question in an internal forum.
Timo

Similar Messages

  • When exporting as aic cropping does not transfer the clips appear in the original size...

    When exporting as aic cropping does not transfer the clips appear in the original size...how can I fix this??  Aic seems to be the best quality - least compressed - so I would prefer to use it rather than the other options.

    ssprengel wrote:
    And if you go to Develop, and make your filmstrip thumbnails a little taller to make sure all the badges are shown, does a missing indicator show up, there?   Can you Export from Develop?
    If you click on the Photos that Failed to Export collection at the top right does the photo it highlight have a missing indicator?
    If you do a test export with just one photo, to your internal drive, does it work?
    I adjusted the height of the thumbnails. Still no exclamation points or question marks as noted here.
    Also, as to your second question, unfortunately no as noted here.
    And as to your last question, I have tried several times to export them to my desktop (which would be on my internal drive, not external). I've even gone so far as to put a copy folder of my original NEF files onto my desktop (7 gb worth) to see if that would help me export...it didn't.

  • How to export all tracks into audio files with the same duration

    Hi everybody.
    I am trying to export all the tracks into different audio files.
    It's 10 soft. instruments and an audio track. I tried with "File>Export>All Tracks as Audio File but the result is 11 audio files with different lengths. As the song is 3 minutes and 20 seconds I would like every single track to be 3.22 sec long.
    How do I do it? In fact, each track is composed not only by played instruments but also by moments of silence.
    Thanks!!
    Alessandro

    sambino wrote:
    I tried with "File>Export>All Tracks as Audio File but the result is 11 audio files with different lengths. As the song is 3 minutes and 20 seconds I would like every single track to be 3.22 sec long.
    The files are different lengths because each instrument does not stop playing at the same moment. It would accomplish nothing other than waste disk space if Logic appended silence to the end of each file in order to make each track the same length. The different lengths you see mean nothing because the absence of appended silence means nothing.
    each track is composed not only by played instruments but also by moments of silence.
    Naturally. And that silence is accounted for in your exported files, when the silence appears at the beginning of the track, and when it appears during the track. It just isn't appended at the end because that would be pointless. Consider this project, consisting of four tracks:
    When I use the command File > Export > All Tracks as Audio Files, Logic will produce four files that look like this:
    The files are not equal in length, which is perfectly fine. What's important is that they all start at bar 1, and will align properly when imported into some other program. So all you need is the command you already used: File > Export > All Tracks as Audio Files. In one step, it will produce all the files you need, and it will produce them correctly.
    By using Bounce, you would be gaining nothing except extra work, because you would have to do it separately for each file you wanted to produce. With Export > All Tracks as Audio Files, you get all your files with just one command.
    iSchwartz wrote:
    exporting tracks means that any panning or automation will not be rendered. So if you want the engineer to put up all of your tracks at unity gain (all faders at zero) and have your tracks & stems reproduce the mix you're hearing at your studio, use bounce, not export.
    If you want to have your tracks & stems reproduce the mix you're hearing at your studio, there's no need to go to the extra effort of using Bounce instead of Export. You only need to enable (in the Export dialog) the checkbox "Include Volume/Pan Automation." This is explained on p. 1022. When you do this, any panning or automation will indeed be rendered.

  • HT1296 My I-Phone has music on it that was synced from an I-Tunes library from a previous computer (which is no longer in use) AND purchases from the I-Tunes store.  I would now like to transfer ALL of that music (not just the purchases from the I-Tunes s

    My I-Phone has music on it that was synced from an I-Tunes library from a previous computer (which is no longer in use) AND purchases from the I-Tunes store.  I would now like to transfer ALL of that music (not just the purchases from the I-Tunes store) into the I-Tunes library that I've established on a new computer.
    Can that be done, and how (I've attempted without any success)?
    Any assistance would be GREATLY appreciated!!

    Contact iTunes support and explain your situation to them.  They may let you redownload it at no cost.
    http://www.apple.com/support/itunes/contact.html
    If they don't, I'm afraid you'll have to purchase it again.  Sorry.
    B-rock

  • I downloaded iOS 7 and now in my music library all my songs are not in the order of the original albums. How do I get them back into order?

    I downloaded iOS 7 and now in my music library all my songs are not in the order of the original albums. How do I get them back into order?

    go to settings>general>reset>reset home screen layout and see if they appear.

  • Why dose not see the call waiting notification when other party in a call with some one ?

    why dose not see the call waiting notification when other party in a call with some one ?

    Because that is not a feature of the iPhone (or of most phones). If someone does not answer when you call, it means they do not want to or cannot talk to you at that time. They could be on another call or they could be simply busy doing something else. Why does it matter which?

  • Pc suite dos not recognise the connect phone.

    I am receiving the error message "pc suite dos not recognise the connect phone.
    the connection between the pc and the phone failed, error code 0x80043605. Switch off your phone, switch it on, and try again."
    Any idea?
    Operative System: Windows XP SP 2
    PC Suite version: 6.80.20
    Mobile: 7250i
    Connection method: cable DKU5
    BR,
    Leandra

    Hi, did running PC suite cleaner 3.3 work for you? I am having exactly the same problem and tried this. PC suite cleaner didn't seem to run properly. I chose the "other" problem type and it said that it could not create a list of directories, please reboot and try again. I did this but no good. I then reloaded PC suite and got the same results.
    My phone is 6230i
    PC suite version is 8.80.21
    Thanks!

  • I install at the new update cc2014 but for some reason in my computer appear double app the old one and the new  but the new dose not gave the setup that I have in my old version! What happen ?

    I install at the new update cc2014 but for some reason in my computer appear double app the old one and the new  but the new dose not gave the setup that I have in my old version! What happen ?

    Seriously, I doubt that your answer helped Erik.  He has two issues.
    He installed the new program and has a double icon folders with software. One for the new &  one for the old.  (I have this same problem.)
    He must have attempted to open one of the products and no longer see his personal settings transferred over.  (The install will ask to have those settings migrating, but you have to accept it. eh, I could be wrong; but, that what i remembered doing.
    I concur with his first. 
    However, i can not get any of my products to work.  Ie. have to constantly click on icon to open; once open i get a unexpected error and have to close. I'm on a mac pro w/ latest os system.
    In addition, I have tried to uninstall the older by clicking on the application's manager icon.; Unfortunately, it shuts down at each attempt.  Therefore, I am unable to un-install the old product or the new. 
    Possibly, we were hoping that the new product would be simply updated if an old recent was already installed. 
    Instead, the installation simply created a new icon and the new folder with product.

  • My iPad stop working suddenly i see black screen only pressing the home? and sleep button dose not solve the  problem please help?

    My iPad stop working suddenly i see black screen only pressing the home and sleep button dose not solve the problem please help ?

    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Home button not working or unresponsive, fix
    http://appletoolbox.com/2013/04/home-button-not-working-or-unresponsive-fix/
    Fixing an iPad Home Button
    http://tinyurl.com/om6rd6u
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • I have changed my payment method with another and since then it dose not except the new payment method i tried another one same thing is happing

    i have changed my payment method with another and since then it dose not except the new payment method i tried another one same thing is happing

    What payment method are you trying to use? Prepaid debit cards by chance? Apple does not accept prepaid cards.

  • I bought I phone 5c from A market in HAITI and i reset the phone ,after i could not activate the phone because it has an apple id,the seller dos not know the id,HAITI has no apple store,the i phone not stolen or in lost mode,SO WHAT I DO?

    I bought I phone 5c from A market in HAITI and i reset the phone ,after i could not activate the phone because it has an apple id,the seller dos not know the id,HAITI has no apple store,the i phone not stolen or in lost mode,SO WHAT I DO?

    There is nothing you can do. That is the Activation Lock that Apple has implemented tout down on theft of their iPhones.
    Most likely the iPhone is stolen.
    It is totally worthless to you.

  • When I export my photos, I am not getting the full mb's, why?  What do I need to do differently?  Frustrated.

    When I export my photos, I am not getting the full mb's, why?  What do I need to do differently?  Frustrated.

    What's the end user going to do with the File? If it's for screen use - Internet, Web Galleries, then 72 dpi is fine. If printing, then 300 dpi is often quoted as a rule of thumb.
    In the Export dialogue you can create your own presets or edit the existing one. If you edit you'll see the quality slider. Higher quality means less jpeg compression.
    Regards
    TD

  • Why the iPhone dose not show the witting in case if the other person have a call and I'm on witting?

    Why the iPhone dose not show the witting in case if the other person have a call and I'm on witting? really I'm dissappointed with this point Why we do not have this service?

    That is not a feature of the iPhone (or of any phone I've ever had so apparently it's far from universal). Apple has not said why they have no such feature.
    You can request such a feature here:
    http://www.apple.com/feedback
    Either the person you're calling will answer you or they won't. What difference does it make why?

  • Why does IBA not include the table of contents when exporting to PDF?

    Why does IBA not include the table of contents when exporting in PDF? I can seee the TOC in iBooks Author but when I want to see what it looks like in a regular PDF, the TOC does not show up.

    Strange question you ask here. Not sure why that is relevant to "why" IBA won't publish a table of contents in a PDF.
    But since eyou asked, it's simple, I want to author some books in IBA and also see what they look like - completed - in PDF. Again, any suggestions as to a work around so I don't have to cut and paste back into Pages?

  • I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro D

    I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro DC has limitations. There is no way to define what points in columns to force break column? Nor create many columns that are useless? How does text to column in Excel, fixed size when we import text, and define where the breaks have columns?
    Google Tradutor para empresas:Google Toolkit de tradução para appsTradutor de sitesGlobal Market Finder
    Desativar tradução instantâneaSobre o Google TradutorCelularComunidadePrivacidade e TermosAjudaEnviar feedback

    PDF does not contain columns, rows, formats, styles, or other aspects of word processing or spreadsheet file formats.
    This is because PDF is decidedly not a word processing or spreadsheet file format or something "like" one of those.
    (see ISO 32000 for what PDF "is")
    What can optimize the export of PDF page content is to start with a well-formed tagged PDF (ISO 14289-1, PDF/UA-1 compliant).
    Without that export is what it is and one performs whatever content cleanup is needed using the native application for the export file (MS Word or Excel).
    Be well...

Maybe you are looking for

  • New IMac 27"with dual internal hard drives

    How do I manage Data on my new IMac 27"with dual internal hard drives?  I have just migrated my data to my new computer.  Since I've done it from a TM backup, it all went to the Analog HD. Ressearching online I've figured I could re-run Migrating ass

  • How do you turn off a radio station?

    I used iHeart Radio app to listen to a live show, but can't figure out how to turn it off

  • TS1567 ipod not showing up

    i checked if apple mobile device is there and it is stopped it and restarted it but my ipod is still not showing up in itunes and is coming up on my computer in devices

  • User provisioning error

    Hi In Hyperion System 11, After provisioning a user, when trying to login into planning, it gives error as: Failed to sync with user provisoning. I tried refreshing the filters again and Sync native directory from Shared services but still the error

  • 1 €/dollar hold when purchasing from iTunes Store

    Hi, I would like to know if iTunes Store holds a 1 € (they actually took more than that from my card) charge from your account everytime you purchase a song, or if this happens only during your first purchase. Thanks in advance!