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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -