Displaying pdf report in pop page by command button.

Hi
I am jdev 10.1.3.3 .I am displaying an pdf report on click of command button like this.
FacesContext.getCurrentInstance().getExternalContext().redirect("http://www.acme.com/someCustomPath/myFantasticReport.pdf");
But problem is this.It is displaying on same window.I want to display it in new window or pop window..Probelm is that i am redirecting the page.
Is there any other way to display in new window.Please help
any help would be helpful

Hi,
check this: http://thepeninsulasedge.com/frank_nimphius/2007/09/11/adf-faces-showing-reports/
Frank

Similar Messages

  • How to open an pdf report On click of some command button in adf

    Hi,
    I have to generate some pdf report or some pdf document on click of some command button .Could any one please tell me how to achieve this.
    suggestion would be appreciated,
    Regards
    Vinay kumar

    So what you're saying is the PDF already exists on your web server, and all you want to do is navigate in the browser from your ADF application to the PDF, yes? If that's correct, let's assume you're PDF exists at:
    http://www.acme.com/someCustomPath/myFantasticReport.pdf
    Consider the <af:goButton> or <af:goLink> controls, which include the destination attribute. As such you'd do something like this:
    <af:goButton destination="http://www.acme.com/someCustomPath/myFantasticReport.pdf"/>As you can see the "go" controls are for navigating to resources not inside your ADF application, while the "command" controls are reserved for navigation among resources in your application.
    In order to generate the destination URL, just replace the destination attribute with an EL expression that retrieves it's value from a backing bean:
    <af:goButton destination="#{myBean.giveMeTheUrl}"/>Regards,
    CM.

  • Display Pdf report on Frame using iText library

    Hi,
    I am able to generate pdf reports using iText library. but i want to display these generated pdf into frame. can u please help for this.
    this is web based application. Through servlet i am generating the pdf report using iText library. I am waiting for your reply ....

    Does this PDF file absolutely need to be displayed within a JFrame? You say you are generating this document on the server side, so if this is a web application, what I might do is place the generated document on directory accessible through http, then on the client browser side open a pop-up browser window with a URL to the PDF document.
    Most browsers have a PDF viewer plugin of some kind.
    If this is a swing application then you can do the same thing but instead of redirecting the browser to the PDF file you can use iText to convert the PDF document to an RTF document and use an RTFEditorKit within a JEditorPane to display the same document in RTF format.

  • How to display PDF file in OAF page

    Hi All,
    I have an requirement to display a PDF file in OAF page. The PDF file will be stored in custom location in unixbox and when the user clicks on the hyperlink from OAF page, the PDF file should be promted to open or save the file in the local system.
    The pdf file will be stored in $XBOL_TOP and I am not sure on how to link the file directory path from OAF page.
    Please share some information on how to achieve this logic.
    Regards,
    Ram

    Hi,
    Did you find a way to do this.
    Please advise.
    Thanks
    Krishna
    Edited by: user452458 on May 11, 2010 6:53 PM

  • How to display pdf in Web Dynpro Page

    Hi Experts,
    I need to display the pdf file in web dynpro page. I am using  Web dynpro 7.1(CE), in that no ui element like Iframe. With Iframe we can display the pdf file in web Dynpro page in 7.0.
    But My problem is how display pdf with out using Iframe.
    Please any one tell how to display with any other UI elements.
    Regards,
    Sunil.

    Hi sunil..
    chk this link..
    <u><b>Pdf</b></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-ffd41e8e8d59
    <u><b>Adobe</b></u>
    /people/achim.hauck/blog/2005/02/04/my-struggles-with-the-adobe-document-services-in-was640
    <u><b>Configuration</b></u>
    http://help.sap.com/saphelp_nw70/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/content.htm
    <u><b>Adobe Document services</b></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e4e9afb-0701-0010-f8a8-b8cd093662c2
    <u><b>Configuring Guided procedure of Interactive Forms</b></u>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b9ea34c2-0701-0010-e2a2-d8e9cd6d85dc
    <u><b>Forum Discussions abt Adobe Document Services</b></u>
    Re: Configuring the Destination URL for the Adobe Document Services
    Hop will this helpful for u..
    Regards,
    GS

  • Display pdf on an apex page

    Hi all,
    I am using 10g xe with apex4
    I need to display pdf on a page.
    How can we do that...
    thanks in advance

    Hi Jyothi,
    This link might be helpful:
    [url http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm] Defining and Viewing BLOB Data in Oracle Application Express 3.1
    This is a link for Defining and Viewing BLOB Data in Oracle Application Express 3.1, but with little
    modifications it is applicable for higher versions of APEX.
    Hope it helps!
    Regards,
    Kiran

  • Displaying Specified Report Rows per Page, w/ "Next" & "Previous" Buttons

    I have a report on my page, and what I am trying to do SHOULD be very simple, but the options provided and their explanations within the HTML DB application are ambiguous.
    All I want to do is have my report display 50 records per page, and have buttons that will allow the user to go to the "Next" or "Previous" page of 50 results.

    hey brice--
    you can take a look at this how-to...
    http://www.oracle.com/technology/products/database/htmldb/howtos/howto_report_rownum.html
    ...to understand how to paginate your rpt result sets. then you can take a look at this one...
    http://www.oracle.com/technology/products/database/htmldb/howtos/howto_report_pagination.html
    ...to understand more about how to customize the look/feel of your pagination controls. let us know, though, if you have questions after taking a look.
    regards,
    raj

  • How do I display PDF document as single pages on iPad?

    Hi,
    I have a company catalogue in PDF format, 20 pages long. We use Issuu to allow customer to view the catalogue on their PCs and mobile devices.
    In Issuu you can customise the embed widget to show single pages, and this works fine when viewing the catalogue on a PC. The problem arises when trying to view the catalogue on an iPad. It appears that the iPad automatically sets the PDF to view as a Facing Pages document. It doesn't matter if I'm using Safari, or the Atomic browser we have installed (so that we can hide the URL bar).
    I've created the document in inDesign as a single page document but the iPad still merges pages 2-3, 4-5, 6-7 etc.
    The iPads will be used in our retail stores so it's important that the set up and navigation is as simple as possible. The catalogue is placed within an iFrame on the page so that I can but a navigational banner at the top that easily takes customers back to the main menu page. It's important that the catalogue opens within the page. The Issuu embed widget for Tumblr, etc only creates a preview of the catalogue which then opens in a separate tab, which unfortunately will not be suitable to our needs.
    You can view the page here: http://www.eurocollections.com/block/catalogue.html
    I've tried a number of different options, I've written to Issuu but they were unable to help as it only seems to be an iPad-related problem.
    Any help or suggestions would be greatly appreciated.
    Kind regards,
    Peter

    The PDF viewers on the iPad do not understand customised widgets.  They understand the PDF format, exactly as it was designed by Adobe.  Instead of trying to use a custom solution, use the features which are provided by the PDF format.  Custom solutions work only for the situations that the company that wrote the custom solution wants them to work and they are a corruption of the normal way PDFs are used.
    In your situation I'd remove all dependency on any custom widgets from your PDF document.  Instead you can use links which allow you to click on a piece of text or an image in the PDF and the PDF software will take you to a different page.  This is part of the PDF standard and will work on all software capable of showing PDFs.  It is all your users should need to navigate from one part of your catalogue to another.  Whatever software you're using to create your PDF should give instructions on how to create links in your PDF document.
    Similarly your use of iFrames is a little stange.  If your material is on a web site, put it in web pages where you can use all the features web pages give you, including blue-underlined links to other pages.  If, instead, your material is in a PDF then put all the navigation in the PDF.  Don't try to depend on a strange interaction between the PDF and your web pages.

  • Problem in displaying PDF report

    Environment : WEB
    AS : Oracle 9i As
    Dev : Oracle 9i Developer Suite
    Db : Oracle 9i DB
    when we call a report(pdf format) from form, It opens up the acrobat reader then,it gives the following error " There was an Error Processing a Page. There was a problem in Reading this document(135)"
    What is the reason for this error? how can solve it?

    our setting with destype=cache, desformat=pdf, paramform=NO.
    report job status returns success. the call web.show_document() uses jobid to display the output. It launchs the pdf program, and then browser returns "PDF error 135" error.
    the actual cache is created in ora_home\midtier\reports\cache\ as #######.pdf, when manually opening it, it returns "PDF error 135".
    Usually when this issue occur, jobs queue are growing then shortly after, rweng will crash. Only way to recover is by restarting the server box.
    any ideas? Thank you in advance!
    Kan

  • Urgent:How to Speed Up the Response time for PDF Report of  500 pages

    hi all
    i am running the 9ias on Solaris and Generating some reports
    Which fetches around 50,000 records and Display them in pdf format.
    When i am ruuning the Query at Database level Response time is Very fast.
    But when i Run the Report in Web Browser same report takes 7-8 minutes.
    So it seems that the Conversion to pdf and Displaying it takes most of time.
    Does any one has idea What parameter's needs to be changed/Caching ??? /
    or any other ways or methods which can be used to Reduce the Response time.
    (its once a monthly Report and User need to Download all the 500 pages as
    a Single Document).
    Any help / suggestion please
    thanks
    jai

    You aren't by any chance calling a function in your repeating frame that in turn goes back and queries the database, are you? If so ... don't. We regularly do 500+ page PDF-file reports, and one thing we discovered early on was that repeatedly going back to the database while generating the report output (in our case, in calculations that were being done on each line of a report) slowed the output down by an order of magnitude. Instead, we now retrieve all the data needed for each report up front (via functions or views called in the initial SQL for the report), and just use Reports to format the output. MUUUUUUUCH faster -- 200 page reports that used to take 15 minutes to complete now complete in just seconds.
    One way you can visually see if this is part of your problem is to watch the report execute in the Report Queue Manager application. If it spends all its time on the "Opening" stage then breezes through each page, this is not your problem. If instead it seems to take a long time generating each page, I'd suspect that this may be at least part of your delay.
    - Bill

  • Open a PDF to a specific page from command line

    I want to open a locally stored PDF file to a specific page from the command line. I have seen examples of accessing web based files using http and the #page= parameter but this does not seem to work for a file stored on my local drive.  I want to be able to use VBA from MS Access to control the opening page.

    Hi cfwoodbury,
    When opening a PDF document from a command shell, you can pass the parameters to the open command using the /A switch with the following syntax:
    <Acrobat path> /A "<parameter>=<value>" "<PDF path>"
    For example:
    Acrobat.exe /A "zoom=1000" "C:\example.pdf"
    Regards,
    Rave

  • Display pdf newsletter on web page

    I'm currently working on a website for an organization that puts out a bi-monthly newsletter as a pdf. What I would like to do is display the current newsletter on the page itself so viewers can flip through it, and have links to the pdf past newsletters. I've found some info on this but the basic premise of it all is that I can convert a pdf to swf in Illustrator and add that to the page. The problem I'm having with that is it seems Illustrator will only load one page at a time and the newsletters are 4-5 pages on average. Is there an easy way that I can do this myself, or would my best bet be to pay for someone else to do it or for more software? I currently have the CS5 Master Collection and would think that something in there is what I'm looking for.
    This is my first post here but hopefully I explained my issue clear enough that someone can help. Thanks in advance!

    Embedded PDFs do not always show up.  Much depends on browser, preferences, plug-ins and supporting software used by your site visitors.
    For best cross browser results, provide a direct link to your PDF files.  Add a thumbnail image to give users some idea of what the page contains.  This is how Adobe does it:
    http://www.adobe.com/manufacturing/3dpdfsamples/3dsolutions/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Display pdf file on web page.

    How can I make my pdf files display 2-up (pages side by side) by default.

    I think you mean the type of pageflip mechanism - for example http://www.pressmo.com
    ...and video tutorial, how to make...

  • Display WebI Reports in JSP pages

    Post Author: merciless
    CA Forum: JAVA
    Hello,we are using Business Objects Enterprise 11.5 Release 2with SP1 on Windows 2003. We want to integrate a report viewer into our portal, based on J2EE and JSP running on Tomcat. We tried to use the WebIntelligence RE SDK JSP Tutorials Release 110.000.00000, but it seams that this tutorial is designed von BO Enterprise 11, and we found no easy way to get it working. Most JSP samples from BOusing the CrystalReportViewer, but we want to use aviewer for WebI reports only. We also need the possibilityto securely pass filters to the reports (openDocument.jspis no solution). The filters should be set in Java codeto prevent URL manipulation. Can anybody help us? A link to a working tutorial would be fine.Another problem we have: Is it possible to solve our problem, if the Java code is running on Linux 64bit with BO on Windows 32bit? Does anybody made some experiences with that?Many Thanks!merciless

    Hi,
    Visit the following URL http://java.sun.com/docs/books/tutorial/i18n/ .
    It will help you.
    bye for now
    sat

  • Bex: diplaying the report in Web page needs print button and extend frame.

    Hi
    1. Is this possible to add print button in the web page which we execute from Bex for the Report or Queries?
    2. After Execution the display area is small within the frame , is that possible to extend the size of the frame and display?
    Thanks and points will be assigned!
    Regards
    M.A

    Hi
    1. Is this possible to add print button in the web page which we execute from Bex for the Report or Queries?
    2. After Execution the display area is small within the frame , is that possible to extend the size of the frame and display?
    Thanks and points will be assigned!
    Regards
    M.A

Maybe you are looking for