Export Adf table into Pdf in JDeveloper and ADF -


i using jdeveloper 12.2.1.1.0.i trying export adf table pdf. when user clicks button, table download pdf file.

i have been following waslley souza blog few modifications.
[http://waslleysouza.com.br/en/2015/03/export-table-as-a-pdf-file-in-adf/][1]

the page contains table button follows:

<af:commandbutton text="export pdf" id="cb3" inlinestyle="border-width:inherit;">      <af:filedownloadactionlistener filename="emp.pdf"       method="#{samplebean.exportallrowstopdf}"       contenttype="application/pdf"/>  

i have added jar files, yet getting following error in log:

<org.apache.fop.fo.fotreebuilder> <fotreebuilder> <fatalerror> <org.xml.sax.saxparseexception; linenumber: 0; columnnumber: 0; document empty (something might wrong xslt stylesheet).> (location of error unknown)org.apache.fop.fo.validationexception: document empty (something might wrong xslt stylesheet). 

when run application page displays, click button , error listed above produced. highly prized.


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -