How to open a pdf report when a click on a command button in the adf

Hello


I have to generate a pdf report or a PDF on click of a button. Could one please tell me how to achieve this.
suggestion would be appreciated,


Concerning
Emine

So what you say is the PDF already exists on your web server, and what you want to do is navigate in the browser of your ADF in the PDF application, Yes? If that is correct, we will assume that you have PDF exists to:

http://www.acme.com/someCustomPath/myFantasticReport.PDF

Look at the or , that include the destination attribute. Thus, you would do something like this:


As you can see 'go' orders are for navigation to resources not inside your application of ADF, while the 'orders' are reserved for navigation within the resources in your application.

In order to generate the destination URL, simply replace the attribute destination with an EL expression that retrieves the value of a bean to support:


Kind regards

CM.

Tags: Java

Similar Questions

Maybe you are looking for

  • Firefox does not open. Already running

    I reinstalled Firefox. But this occure from time to time.

  • Quickly lose massive amounts of HARD disk space

    I'm currently running OS X 10.10.4... Mid 2012 MBP 2.3 GHZ Intel Core i7... 4 GB of Ram... 500 GB HARD drive provided with the machine. That's the problem more annoying, I had to date. My machine consumes a huge amount of space HDD without apparent r

  • No copy or scan

    I have a photosmart c410a all-in-one that will not copy or scan. Get "DOCUMENT FEEDER JAM. I tried to unplug the power cord, but that did not fix the problem. Any other ideas?

  • Troubleshooting: Addition of SSD and then boot from it

    I have a G1 600 ProDesk, recently bought with a single 500 GB hard drive. Before migrating all my programs from the old machine it's replacement (which some require installs ALONG), I wanted to install a SSD and use it as the startup disk. I bought a

  • 303 305 hard drive error

    My HP Pavilion 1019wm g7 started running more slower and slower resulting in poor performance. It became so bad that I felt that the only cure was to format and reinstall. After that four failed attempts I admit now that the hard disk is unable to le