PDF Viewer embedded in OA Framework page

Hi All
Is it possible to embed a PDF viewer into a framework page such that it could display an
existing PDF that is held in an external document management system and accesssed via a url ?
Context ...
We will have a custom OA Framework page that will be displaying invoice details.
The invoice image will be held in a document management system probably Documentum.
The invoice image could be retrieved by opening the URL to that image document.
Simple solution has a url link on the invoice details page for the image. When user clicks on the
link a new window will open and display the PDF.
Business have asked if it would be possible to display the invoice data fields AND the PDF image on the
same window rather than needing to open a new window ?
Is this possible ?
Many thanks
Andy

Hi Andy,
Please check with this if it helps http://www.apps2fusion.com/at/ps/51-ps/286-bi-publisher-document-viewer-common-region-embed-oa-framework.
Regards,
Reetesh Sharma

Similar Messages

  • How to open a PDF within a PDF viewer embedded in a html page

    Hi. I'm trying to modify a jsp that opens a runtime generated pdf. Originally, the pdf is opened by prompting the Adobe Reader program, but now I need to open the pdf within the jsp (which also have other content, not just display the pdf). I tried to embed the pdf in an iframe (similar to this: http://www.cs.tut.fi/~jkorpela/html/iframe-pdf.html ), but not works, it still prompts the Adobe Reader program. Actually the pdf content is generated on runtime and output through a servlet's output stream (this servlet is written by someone already left), what i did is try to open this servlet url in an iframe. If the iframe src is really a pdf file, it really works. But now the url is a servlet that output a pdf, is there anything special needed to do in the servlet in order to fulfill my requirement?

    i'm a bit confused...sounds like you don't like the adobe reader welcome screen poping up....or perhaps even the quick buttons that would surround the document. i believe these are unavoidable.
    It also sounds like you have a servlet that returns a application/pdf mime type. ( or is at least capable of) you should be able to mark that as the source of your iframe and have no issues. i personally don't use a servlet...i use a jsp...its very easy...here's the code:
    <%
         response.setContentType("application/pdf");
         MyDataBean db = new MyDataBean();
         try {
              /* pass parameters and outstream for return */ 
              db.generatePDFFile( request, response.getOutputStream());
         } catch ( Exception e ) {
              response.setContentType("text/html");
              out.print( "there was a problem with your request..." );
    %>gl, hope that helps.

  • Is there a PDF Viewer that can swipe between pages?

    I'm a working musician and I had high hopes for the iPad that I might be able to have music Pdf charts that I could read on gigs.
    For this to really work, I need to have a PDF App that can use the hand swipe method of moving between pages.I tried the PDF Reader Pro app and for reading Pdf's, it is fine, but it has only a tiny arrow touch-link that scrolls the page and It's impossible to go for that while I'm playing on a gig.
    Am I guilty of purely wishful thinking here, or would an app like this violate Apple's protections against moving cross-platform, since it would have to access Apple's touch sensitive technology?
    Thanks for any tips,
    Frank Bright

    I thought I'd reply on this since I've since had time to really try Good Reader out as a music chart reading program. It seems to have all the ingredients for reading music charts well, but for me it does NOT fly, not when really using it while you're playing an instrument.
    The organization is all very well done and good - pages are well defined and separated. But trying to turn pages with ANY consistency while playing an instrument - in my case, piano - is IMPOSSIBLE.
    Note: when one tries this out just sitting in a chair, it performs flawlessly. You may wonder "What was he talking about? This is easy!" And I've tried all methods -tapping the corners, the bottom middle tap, and the full swipe method. It all comes down to this:
    Executing the tap or swipe successfully requires a certain deliberateness or focus in your finger touch - a focus that is easy enough to summon when you're doing nothing else. But this focus, at least to me, is simply not accessible when I'm playing the piano and reaching in quick desperation to make sure the page gets turned in time. It's just not there for me anyways, and I predict that some might be able to do it, but I doubt even those few will feel any consistency in the results.
    I have since discovered the Music Reader App and am currently trying that one. The App is free, but to work with charts and convert them on your computer requires that you purchase a program.
    Thanks - and I hope this helps someone,....Frank

  • PDF file cannot be viewed from OA Framework page.

    Hi all,
    I have developed an OA Framework page which shall present an XMLP report in pdf within the browser.
    When I click on my menu item which opens the oa page, the Open file.. diaglog appears. When I open or save the file (and thereafter opening if) the following error appears: _Acrobat could not open [filename] because it is either not a supported file type or because the file has been damaged._
    I can open the file if I go to the server and copies the output file to my own machine.
    The error that i'm describing is happening on the server and NOT in my development environment. I cannot get it to work at all on my own machine.
    Some facts:
    JDeveloper 9i RUP7
    XML Publisher 6.5.3
    APPS 11.5.10 CU2
    The code:
    package bksv.oracle.apps.bkfnd.bkrepgw.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.common.AppsContext;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.xdo.dataengine.Parameter;
    import oracle.apps.xdo.oa.util.DataTemplate;
    import oracle.apps.xdo.oa.schema.server.TemplateHelper;
    import java.io.OutputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.FileInputStream;
    import java.util.Properties;
    import java.util.Calendar;
    import java.text.SimpleDateFormat;
    import com.sun.java.util.collections.ArrayList;
    import com.sun.java.util.collections.Iterator;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletOutputStream;
    import oracle.cabo.ui.data.DataObject;
    * Controller for ...
    public class ReportGenerationCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        String currentDateTime = ReportGenerationCO.now();
        String filename = "/home/appsamba/kkristoff/KKR_TEST_" + currentDateTime;
        //Get application context
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        AppsContext appsContext = ((OADBTransactionImpl)am.getOADBTransaction()).getAppsContext();
        DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
        HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
        // Set the Output Report File Name and Content Type
        String contentDisposition = "attachment;filename=" + filename + ".pdf";
        response.setHeader("Content-Disposition",contentDisposition);
        response.setContentType("application/pdf");
        //Initilization//   
        try {
          ServletOutputStream os = response.getOutputStream();
          DataTemplate dataTemplate = new DataTemplate(appsContext, "CS", "BKCSSR");
         //Get Parameters
        ArrayList parameters = dataTemplate.getParameters();
         //set Parameter Values as ArrayList of oracle.apps.xdo.dataengine.Parameter
          Iterator it = parameters.iterator();
          while (it.hasNext())
             Parameter p = (Parameter)it.next();
             if (p.getName().equals("P_INCIDENT_NUMBER")) {
              p.setValue("369");
             if (p.getName().equals("P_REPAIR_ORDER_NUMBER")) {
              p.setValue("");
             if (p.getName().equals("P_REPORT_NAME")) {
              p.setValue("Service Request Overview");
             if (p.getName().equals("P_SERVICE_TYPE")) {
              p.setValue("ALL");
         dataTemplate.setParameters(parameters);
          dataTemplate.setOutput(filename + ".xml");
          dataTemplate.processData();
          OutputStream outputStream = new FileOutputStream(filename + ".pdf");
          InputStream inputStream = new FileInputStream(filename + ".xml");
          Properties prop = new Properties();
          // Process template
         TemplateHelper.processTemplate(appsContext, // AppsContext
         "CS", // Application short name of the template
         "BKCSSR", // Template code of the template
         "en", // ISO language code of the template
         "00", // ISO territory code of the template
         inputStream, // XML data for the template
         TemplateHelper.OUTPUT_TYPE_PDF, // Output type of the procesed document
         prop, // Properties for the template processing
         outputStream); // OutputStream where the processed document goes.
          String sByteArray = outputStream.toString();
          byte[] outputBytes = sByteArray.getBytes();
          response.setContentLength(outputBytes.length);
          os.write(outputBytes, 0, outputBytes.length);
          os.flush();
          os.close();
        inputStream.close();
        outputStream.close();
         } catch (Exception e)
            //throw new OAException("An Error has occured master: " + e.getStackTrace().toString(), OAException.ERROR);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
      public static final String DATE_FORMAT_NOW = "yyyy-MM-dd";
      public static String now() {
        Calendar cal = Calendar.getInstance();
        SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT_NOW);
        return sdf.format(cal.getTime());
    Thank you in advance.
    Regards
    Kenneth
    Edited by: Kenneth_ on 2010-07-30 12:58
    Edited by: Kenneth_ on 2010-07-30 13:33

    I have now found a solution to this problem. Thank god!
    See the code below.
    Thank you all for helping me getting this far.
    Kenneth
    package bksv.oracle.apps.bkfnd.bkrepgw.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;n
    import oracle.apps.fnd.common.AppsContext;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.xdo.dataengine.Parameter;
    import oracle.apps.xdo.oa.util.DataTemplate;
    import oracle.apps.xdo.oa.schema.server.TemplateHelper;
    import java.io.OutputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.FileInputStream;
    import java.util.Properties;
    import java.util.Calendar;
    import java.text.SimpleDateFormat;
    import com.sun.java.util.collections.ArrayList;
    import com.sun.java.util.collections.Iterator;
    import java.io.ByteArrayOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletOutputStream;
    import oracle.cabo.ui.data.DataObject;
    * Controller for ...
    public class ReportGenerationCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        String currentDateTime = ReportGenerationCO.now();
        String filename = "/home/appsamba/kkristoff/KKR_TEST_" + currentDateTime;
        //Get application context
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        AppsContext appsContext = ((OADBTransactionImpl)am.getOADBTransaction()).getAppsContext();
        DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
        HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
        // Set the Output Report File Name and Content Type
        String contentDisposition = "attachment;filename=" + filename + ".pdf";
        response.setHeader("Content-Disposition",contentDisposition);
        response.setContentType("application/pdf");
        //Initilization//   
        try {
          ServletOutputStream os = response.getOutputStream();
          DataTemplate dataTemplate = new DataTemplate(appsContext, "CS", "BKCSSR");
         //Get Parameters
        ArrayList parameters = dataTemplate.getParameters();
         //set Parameter Values as ArrayList of oracle.apps.xdo.dataengine.Parameter
          Iterator it = parameters.iterator();
          while (it.hasNext())
             Parameter p = (Parameter)it.next();
             if (p.getName().equals("P_INCIDENT_NUMBER")) {
              p.setValue("369");
             if (p.getName().equals("P_REPAIR_ORDER_NUMBER")) {
              p.setValue("");
             if (p.getName().equals("P_REPORT_NAME")) {
              p.setValue("Service Request Overview");
             if (p.getName().equals("P_SERVICE_TYPE")) {
              p.setValue("ALL");
         dataTemplate.setParameters(parameters);
          dataTemplate.setOutput(filename + ".xml");
          dataTemplate.processData();
          //OutputStream outputStream = new FileOutputStream(filename + ".pdf");
          ByteArrayOutputStream localByteArrayOutputStream = new ByteArrayOutputStream();
          InputStream inputStream = new FileInputStream(filename + ".xml");
          Properties prop = new Properties();
          // Process template
         TemplateHelper.processTemplate(appsContext, // AppsContext
         "CS", // Application short name of the template
         "BKCSSR", // Template code of the template
         "en", // ISO language code of the template
         "00", // ISO territory code of the template
         inputStream, // XML data for the template
         TemplateHelper.OUTPUT_TYPE_PDF, // Output type of the procesed document
         prop, // Properties for the template processing
         localByteArrayOutputStream); // OutputStream where the processed document goes.
          byte[] b = localByteArrayOutputStream.toByteArray();
          response.setContentLength(b.length);
          os.write(b, 0, b.length);
          os.flush();
          os.close();
        inputStream.close();
        localByteArrayOutputStream.close();
         } catch (Exception e)
            //throw new OAException("An Error has occured master: " + e.getStackTrace().toString(), OAException.ERROR);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
      public static final String DATE_FORMAT_NOW = "yyyy-MM-dd";
      public static String now() {
        Calendar cal = Calendar.getInstance();
        SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT_NOW);
        return sdf.format(cal.getTime());
    }

  • Interactive PDF with embedded pages/images.

    Hi, all.
    I am working on an interactive PDF and have a question.
    It is my intention to provide an experience similar to that of navigating a website. I wish to have some hyperlinks that point to elements within the PDF file itself but don't wish those elements to be visible as regular pages of the document. Let me be more specific.
    I would like for my document to contain embedded documents and images that would not be visible when viewed page by page using a PDF viewer. However, these hidden documents would be viewed once the buttons with the hyperlinks pointing to them were pressed or clicked.
    Does it make sense ? I hope it does. How can this be done ?
    Thank you in advance,
    Joe.

    Thank you again, George.
    I understand you point. Preview is indeed very limited.
    Since I am on a Mac I am not sure what PDF viewer, if any, comes standard with a default Windows installation. In any regard, is there a way to set a PDF file so that it bypasses the user's setting and asks for Acrobat Reader (or Pro) when the user tries to open it ? In this case even if the viewer had Preview set as the default PDF reader the document would request to be opened with Acrobat. Is there a way to set this up in the document preferences ?
    I am reading about InDesign features to learn more about it thanks to your suggestions. Hopefully I will be able to set-up links/hyperlinks in a manner that allows me to accomplish my goals.
    Thank you again,
    Joe.

  • In Mavericks Mail, how do you attach a PDF (single-page or multi-page) without the PDF being embedded in the message?

    In Mavericks Mail, how do you attach a PDF (single-page or multi-page) without the PDF being embedded in the message?

    I attached a .doc file to the message and it appeared as an icon, so I did not have to convert it. I attached a .jpg image — it appeared as a full image, but when I Command+clicked the image, the view as icon window did not appear on the screen. Likewise, I again checked the Mail Menu Bar, and did see 'View as icon.' Side note: I routinely use Mavericks Mail in Classic Mode, so I decided to try both modes. Same results in both modes. I checked my Mail Preferences, but couldn't find anything there, either. I'll continue to look around, but this has me stumped. Thanks for your assistance.  

  • How can I make some pages in a PDF display in single-page view and others in two-page (facing) view?

    Exactly as it says on the tin. I am looking to save a PDF magazine/book layout in such a way so that when opened, only the front and back covers open to the viewer in single-page mode, and the rest of the pages in two-page facing mode, without re-printing the in-between pages in booklet format  and re-inserting them into a new PDF (with the front and back covers left separate and untouched, and included as single portrait-orientation pages). This is so that individual pages can still be printed (on a physical printer, not a "virtual" one like a PDF driver), as-is without having the page next to it included, or the printouts always requiring landscape orientation (resulting with two "pages" from the PDF showing up on one sheet of paper).
    So when the PDF is opened, I want just the front and back cover to be auto-viewed by themselves, and the content (the "meat" of the document) viewed side-by-side, as though one were actually reading a "book" -- but without actually re-doing the content pages to be "fused" side-by-side. Thus creating the "illusion" that they are, in fact, in booklet form. Is this possible, to have different page-display settings for different pages/page ranges in a single PDF? If so, how is this done? If not, what would be my best course of action otherwise to achieve this "virtual" book layout, while still retaining the "physical" structure of the document and allowing individual pages to be printed by themselves rather than "fused" together?
    Using Acrobat X Pro on Windows 7 Pro SP1.

    Dave Merchant wrote:
    The best you can do practicably is the 'two up with cover page' view mode. The first page will appear singly but not centered, and to get the last page to behave it would have to be a folio sheet.
    It's theoretically possible to use JavaScript to reset the view mode as each page is changed, but it makes for a nightmare of usability (what if someone on a smaller display wants to use 'fit to width'? Not an option if JS keeps overruling it). Anything involving JS won't work on non-Adobe software or mobile devices.
    Not a programmer by any means, so I won't be using JavaScript because I wouldn't know where to begin. I was thinking more in terms of an option I could adjust in the menus or dialogues.

  • Is there a way to set the default Initial View to Bookmarks Panel and Page on word documents that I save as PDF?

    When I save my word 2013 documents as Adobe PDF I have to open the PDF up, go to File>Properties>Initial View>Navigation Tab and then set the initial view as Bookmark Panel and Page; it gets pretty tedious.
    I use Save as Adobe PDF rather than Print to Adobe PDF Printer because I like being able to have the security settings automatically set.
    I just want to be able to save my word document as Adobe PDF with the initial view already set as Bookmark Panel and Page, and with security, so I can send it out immediately.
    Is this possible?
    Thank you.

    Use the Firefox Android Addon - Phony
    *https://addons.mozilla.org/en-US/android/addon/phony
    for more
    *https://addons.mozilla.org/en-US/android/

  • How to add a hand tool (grab the page and drag) function on Chrome and firefox pdf viewer?

    To clarify, hand tool is a function for user click on the pdf and dragging around , that is used to replace the scroll bar navigating .
    The problem is, by default the Chrome and firefox pdf viewer do not have that function and I would like allow the user to drag the page.
    A workaround is to use a jquery plugin (grab to pan https://github.com/Rob--W/grab-to-pan.js in my case) with an embed object (pdf viewer). When I maximum the size of the pdf and user drag the embed object.
    The problem I have encounter is
    1) When using chrome/ firefox, the pdf content do not fit to the page but auto resize by default even I have set the adobe pdf open parameter , using iframe.
    2) The jquery seems conflict with the firefox pdf viewer, it works smoothly on Chrome but not firefox.
    Here is the source code, you may download the plugin from the link mention above and have a look. Don't forget to put a '1.pdf' along with the source file. Thanks
        <!DOCTYPE html>
        <head>
        <meta charset="utf-8">
        <title>Grab-to-pan.js demo</title>
        <link rel="stylesheet" href="grab-to-pan.css" type="text/css">
        <style>
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        html, body {
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
        .scrollable {
            overflow: auto;
            width: 100%;
            height: 100%;
            background-color: #EEE;
        #zoomPage {
                  overflow:visible;
            width: 100%;
            height: 150%;
        </style>
        </head>
        <body>
        <label><input type="checkbox" id="activate-g2p" checked> Activate Grab to Pan</label>
        <div class="scrollable" id="scrollable-container">
        <object id = 'zoomPage' type='application/pdf' data= '1.pdf#zoom=page-fit'><p>The PDF can not display</p></object>
        </div>
        <script src="grab-to-pan.js"></script>
        <script>
        document.getElementById('activate-g2p').onchange = function() {
            if (this.checked) g2p.activate();
            else g2p.deactivate();
        var scrollableContainer = document.getElementById('scrollable-container');
        var g2p = new GrabToPan({
            element: scrollableContainer
        g2p.activate();
        </script>
        </body>
        </html>

    This is forum sponsored by Adobe make of Acrobat and Reader. Since Chrome and FireFox web browser have chosen to use their own viewer you might get more help in their forums or customer support.

  • Page will not open with default PDF viewer of  preview

    Installed adobe, did not like..removed. Now PDF page for local newspaper will not open default of preview reader, keeps looking for adobe. Want to make certain Preview is default PDF viewer, it look like it is..but how to get page to open like it did previous to installing/removing adobe.

    Hi Berni
    look in HD/Library/Internet Plug-Ins/ & move/trash the Adobe PDF viewer plugin; restart any browsers & things should behave again.

  • Firefox pdf viewer garbles embedded text on some of our pdfs (on Mac OS Mavericks). They're fine in Safari or when downloaded. This is a major problem.

    Firefox pdf viewer messes up text on pdfs and makes them unreadable. These fonts are embedded, so there shouldn't be a problem. The pdfs are fine when viewed in Safari or Chrome browsers. Also fine when viewed through Acrobat. Telling me to change my default browser isn't good enough. Visitors to our web site won't know this.

    The latest stable and latest development versions of the built-in PDF viewer are available as an extension and these version can possibly perform better than the version shipped with the current Firefox release.
    Latest development version of the PDF Viewer (pdfjs) extension:
    *http://mozilla.github.io/pdf.js/extensions/firefox/pdf.js.xpi
    Latest stable version of the PDF Viewer (pdfjs) extension:
    *https://addons.mozilla.org/firefox/addon/pdfjs/

  • Embedding external content in a Framework page

    Hi,
    I want to embed some external content, like YouTube video or a presentation on Slideshare, on my iRecruitment home page. I added an Item of type Servlet Include, and simply pasted in the Embed code from the host into the Source URI field. When I display the page, the embedded content actually renders 3 times (one on top of the next on top of the next), and right below each embedded object I get the below error text:
    not found at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:370) at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:336) at oracle.cabo.ui.laf.base.JspIncluder.includeByPath(Unknown Source) at oracle.cabo.ui.laf.base.ServletIncludeRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderSideNode(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderRightNodes(Unknown Source) at oracle.cabo.ui.laf.swan.desktop.ContentRenderer.renderTableContent(Unknown Source) at oracle.cabo.ui.laf.swan.desktop.ContentRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source) at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source) at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3456) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3102) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2909) at OA.jspService(_OA.java:220) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:702) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:252) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:186) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:191) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322) at RF.jspService(_RF.java:217) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:610) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) ">
    Any ideas on what I can do to successfully render embedded content on my page?
    Thanks,
    Steve

    you dont have this class com.evermind.server.http.EvermindPageContext
    with your classpath.
    copy this class file from any oracle apps instance from $JAVA_TOP/com folder in your myclasses folder
    if you running this locally on jdeveloper.
    Thanks

  • How do I stop pdf viewer from printing 4 pages per page?

    When I print a file off pdf viewer in firefox, my printout comes out 4 pages per page, even though I check advanced settings and verify that it is set to 1 page per page. I do not know where else I can look to correct this problem.

    HI nmrdata,
    It may be that Firefox printer settings need to be reset. Please see [[Fix printing problems in Firefox]].
    If you have any questions on how to open the about:config page please do the following steps :
    # In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear.
    # Click '''I'll be careful, I promise!''' to continue to the about:config page.
    # Look for print.printer_print and reset the option.

  • I am trying to view a PDF file and cannot see past page 2, I am trying to view a PDF file and cannot see past page 2

    I am trying to view a PDF file that has 22 pages and I do not know how to go thru the pages, it will not let me scroll down past page 2 or go to the next page.

    If you are using the built-in PDF viewer, you may have to swipe right or left instead of up and down. I recommend Goodreader as a third-party viewer if you want one.

  • Displaying pdf from file system in OA framework pages

    Hi,
    If anyone could help me with this I would be very grateful.
    We have a number of pdfs containing sensitive information, held on our Unix file system in directories not publicly available.
    I want to create an OA framework page which takes the name of a pdf as a parameter and displays the content of that pdf on the user's browser. I cannot simply do a redirect because the pdfs are not publicly available.
    I've found some sample java code that allows you to set InputStream and OutputStream and read the content of the file. However, I cannot see how to redirect the output stream to the browser. Of course, this may be entirely the wrong approach.
    Can anyone suggest anything or point me to some documentation that might help?
    Many thanks,
    Mike Thorn.

    Hi Shiv,
    Thanks for responding. I'm not sure whether I've explained my problem properly, so I've included a code snipet below.
    I've got my head around how to stream the contents of a file to an output string but cannot see how to bolt this into the controller region for an OA framework page. In the code below, you'll see I have a dofile which reads from my D: drive and streams to the System.out. I'm calling this from the processRequest for the page controller but do not understand how to get the output stream into the OAHTMLWebBean (my inclusion of Google works just fine).
    All this Java is rather new to me I'm afraid.
    public static void dofile()
    try{
    OutputStream outStream = System.out;
    String fileName= (String)"index.htm";
    String filePath = "D:\\Jdeveloper\\jdevdoc\\";
    File f = new File(filePath, fileName);
    String fileType = fileName.substring(fileName.indexOf(".")+1,fileName.length());
    byte[] buf = new byte[8192];
    FileInputStream inStream = new FileInputStream(f);
    int sizeRead = 0;
    while ((sizeRead = inStream.read(buf, 0, buf.length)) > 0) {
    outStream.write(buf, 0, sizeRead);
    inStream.close();
    outStream.close();
         catch (Exception e) {
              System.err.println(e);
              System.err.println("dofile error");
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    dofile(); //but how do I egt the output to the OAHTMLWebBean?
    // the following works fine to include Google
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean(pageContext, HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src","http://www.google.co.uk");
    outRegion.setHTMLAttributeValue("width", "100%");
    outRegion.setHTMLAttributeValue("height", "60%");
    outRegion.setHTMLAttributeValue("title","My title");
    outRegion.setHTMLAttributeValue("name", "My name");
    pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    Many thanks again for any help you can offer this Java virgin,
    Mike Thorn

Maybe you are looking for