I am trying to convert over a jasperbean to display in the pdfJSViewer and I am a bit unsure about where to start. I was able to generate a pdf and output it to the downloads folder using this code:
- Code: Select all
plugins.jasperPluginRMI.runReport( fs, reportName, null, plugins.jasperPluginRMI.OUTPUT_FORMAT.PDF, reportArguments )
However what I am trying to do is bring up my generated PDF in the pdfJSviewer like the example on the servoy demo site and allow the user to download the PDF if they are satisfied with the output rather than having them download the report and having to download again.
Thanks!