Printable page in adf

Hey,
I have the "printable page" feature added to an adf table.
After clicking on the "printable page" the first time, it opens the printable page ok.
Then the user closes the printable page.
Now the user clicks the printable page again. Nothing happens. It does not open the printable page.
This is strange.
Does anyone know why?
Thanks

Can you double check if you are following everything documented here ... I know its straightfwd though.
http://download.oracle.com/docs/cd/E16764_01/web.1111/b31973/ad_output.htm#CHDIDBAB

Similar Messages

  • ADF: Printable page is not showing all the data

    Hi Everyone,
    I am using Jdev 11G.
    I have one ADF page with Read Only Table.The table has 14 columns.
    I have Print button at the bottom of the page. When i click on print button my page is converted to Printable page but it is showing only 10 columns.(so im unable to print all the data in the table)
    How can i make it to show all the columns in the table in printable page?
    Plz help.
    Any suggestions will be really grateful.
    Thanks.

    Hi Arun,
    In the following code: public SelectItem[] getAllPrinters() {
    if (allPrinters == null) {           // allPrinters is not defined. what type of object it is
    PrintService[] printers = PrintServiceLookup.lookupPrintServices(null, null);
    allPrinters = new SelectItem[printers.length];
    for (int i = 0; i < printers.length; i++) {
    SelectItem printer =
    new SelectItem(printers.getName(), printers[i].getName());
    allPrinters[i] = printer;
    return allPrinters;;;
    Variable allPrinters is not defined. what type of object it is?
    And also the same variable is referenced here <af:selectOneChoice label="Available Printers" partialTriggers="cb1"
    value="#{pageFlowScope.applicationPrinterBean.selectedPrinter}"
    id="soc1"
    autoSubmit="true">
    <f:selectItems value="#{pageFlowScope.applicationPrinterBean.allPrinters}" id="si1"/>
    </af:selectOneChoice>.
    Thanks.

  • UIX question: Open printable page in a new window

    I am using 10.1.2 version of JDeveloper with UIX/ADF.
    In one of the UIX pages, I am using a submit button to fire an event named printMe to open the uix page in a printable format.
    <event name="printMe">
          <showFacet name="printable"/>
        </event>But, understandably this takes out all the links in the page and the only way to go back to the original page is to use the back button (which users might find unintuitive). I was wondering if there is a way to make the printable page to open in a new window?
    I don't think using the destination or onClick attributes of the submitButton with the javascript:openWindow() function would achieve this. Because this still loads the page in a 'printable' format in the same window and opens a new window in the 'non-printable' format.
    I would like to know, if there is a way to direct the printable facet to open in a new window leaving the original page as-is, so the users can print, close the new window and resume using the application.
    Or is there a better way to handle this, as I am open to ideas if there is a better way to address this usability issue.
    Thanks in advance,
    Karthik

    Dear Sir...
    assume that in order to view the report in the page, you should change the where clause of a view object for example (this is dependent on how and what settings you want to make for the page. it does not have to be like this, it is dependent on how you prepare data, perhaps you do not have to prepare anything at all, i do not know what code you have).
    So, assume that in order to view the print report, your code was something like this:
    public void onViewReport(DataActionContext ctx)
    ViewObject V=GetView(); //
    V.setWhereClause("myfiled=123"); //
    V.executeQuery(); // these steps used for preparing data
    ctx.setActionForward("printpageforward"); // go to print page
    Now you remove this code , go to the print page, and override the print page prepareModel method with something like this:
    protected void prepareModel(DataActionContext actionContext) throws Exception
    super.prepareModel(actionContext);
    ViewObject V=GetView();
    V.setWhereClause("myfiled=123");
    V.executeQuery();
    Now you add the script to your button to show the print page in a new window, and that is it. your print page should work fine.
    best regards

  • How to Navigate to Printable Page in 'same browser'

    Dear experts,
    Im using Jdeveloper 11.1.2.2
    I tried the following link to get Printable Page in 'same browser',but it is hard to identify the steps.
    (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501392.pdf)
    Anyone have simple tutorial to do this work?
    Thanks
    Charith

    Hi,
    if you mean to show a printable page in the same browser window (replacing the current form) then
    1. add command button
    2. add af:showPrintablePageBehavior tag (drag and drop from "OPerations" tag in component palette
    Thats it. See also http://docs.oracle.com/cd/E26098_01/apirefs.1112/e17491/tagdoc/af_showPrintablePageBehavior.html
    Frank

  • Is that possible to display the user selection data in the printable page?

    Hi All,
    I'm going to add a printablepage button on my page.
    Here comes a questions.
    Is that possible to display the user selection data in the printable page?
    For example,
    I have a table in the page,with 10 records.User select 5 of them.Can I display these 5 records in the printable page?
    Please help.

    Hi Yannick,
    Thanks a lot for the information. It worked.
    The portlet data can be accessible using bindings, but parameter name can be different.
    Meanwhile I have got one more scenario, where the Portlet and Task Flow placed in different pages of WCP Application. On change of data in the Portlet the application should navigate to another page where the Task Flow placed and displays selected data.
    Basically I can not use any button for navigation. The navigation should happen once I do some action in Portlet.
    Is this possible? If yes can you please let me know the steps?
    Thanks in advance!
    Somnath
    Edited by: Somnath Basak on Dec 20, 2011 9:41 AM

  • Question on "Master Detail page using ADF" sample

    I downloaded the "Master Detail page using ADF" sample application. I modified editDepartment.jsp page to include the Commit button as follows:
    <html:submit property="event_Commit">Save and Commit</html:submit>
    When I go to edit a department record and click on the new "Save and Commit" button, I SQLed the DEPARTMENTS table and noticed that the edits were not commited. I also restarted the embedded OC4J server and still get the same results. For some reason, the department view object contains the modification but the entity object doesn't. Why?

    Scott,
    My colleague suggested a workaround, which is to explicitly include the detail table's id in the master table's partialTargets list. So, for example, in MasterDetailDP.uix, changing:
    <table model="${bindings.DepartmentsView1}"
           id="DepartmentsView111"
           partialRenderMode="multiple"
           partialTargets="_uixState">to:
    <table model="${bindings.DepartmentsView1}"
           id="DepartmentsView111"
           partialRenderMode="multiple"
           partialTargets="_uixState EmployeesView312">...will cause the detail table to be updated when sorting the master table.
    There is some question about whether sorting a table should actually cause the currently selected row to change - we're still discussing this point.
    Andy

  • Is it possible to call OAF Page from ADF Page

    Hi,
    Is it possible to open E-Business suite OAF page from ADF ??
    Our requirement as follows:
    In ADF page have the Order Number as hyper-link, if user click on hyper-link we have to pass Order_Id and open OAF page of Order Management in E-Business Suite. This OAF Page has has the corresponding Order Line for given Order_Id.
    If this is possible, how authentication/security works between ADF and OAF. Is the user which as logged into ADF will authenticate in OAF Page also ? How it works ??
    Thanks in advance.
    Thanks,
    SrikS

    Hi,
    Hope following useful
    http://blogs.oracle.com/stevenChan/entry/oa_framework_or_adf
    ADF Call from OAF

  • How to create  Printable page in OAF using Jdev10g

    Hi,
    I tried to create a printable page in OAF using the following steps given in devguide of OAF
    Step 1: Add a page-level button as described in the Buttons (Action/Navigation) document.
    Step 2: Assuming your button label is the standard "Printable Page," apply the OA Framework attribute set /oracle/apps/fnd/attributesets/Buttons/PrintablePage.
    Step 3: Set the button's Destination URI property to point to the current page and set the UIX facet parameter (OARF) to printable as shown in the following example (See Controlling UIX Rendering Output for additional information about facets). Remember to retain your application module.
    OA.jsp_?page=<CURRENT_PAGE>&retainAM=Y&OARF=printable_
    *my current page path is *_
    OA.jsp?page=abhi.oracle.apps.ak.employee.webui.AdbPG&retainAM=Y&OARF=printable_
    Note: Earlier versions of OA Framework recommended giving the printable page submit button the ID IcxPrintablePageButton. OA Framework detects this ID and behaves appropriately when the user presses the button. Although this still works, new code leverages the facets approach instead.
    Step 4: Set the button's Target Frame property to _blank to ensure that the printable page opens in a new window.
    but after doing this i am getting below exception.
    Exception Details._
    oracle.apps.fnd.framework.OAException: The application id or shortname () you entered does not exist._
    i am new to OAF..
    can anybody guide me , how this exception can be corrected?

    Hi,
    sorry, wrong forum. This is all about Oracle JDeveloper. OAF related questions are handled on the OAF forum
    Frank

  • Printable Page behaviour

    Hi all,
    I have table which has 15+ number of columns and each column has width of more than 90px. When i am using printable page behaviour the printable page is showing all the columns of table but when i am extracting a hard copy out of it, i am not getting all the columns. Can there be a way through(programming) where i can define what should be the font size of printable page, so that i can have all columns on my hard copy.
    I also tried printinh hard copy with landscape mode but its not catering all the columns.

    User,
    please always tell us which JDev version you are using as the solution might depend on it.
    I'm not sure I understand your requirement fully. A hard copy is a screen shoe, so you get what you see. If the printable page behavior doesn't get the output you want, you can always use a more sophisticated report solution which give you all the control on the output you want.
    However, here are some links which might help you get started on how to change the output of the printable page behavior:
    https://blogs.oracle.com/jdevotnharvest/entry/how_to_hide_or_show and
    http://jobinesh.blogspot.de/2011/07/tips-on-using-showprintablepagebehavior.html
    Both are using the same technique.
    Timo

  • Printable page issue..

    Dear All,
    In one of our requirement i a getting error while "Printing" the page.The requirement is like below:
    In the first page we are displaying no of items list as per user selection.When user clicks on the item number we will take them to another page which has Item details.
    So in the first page link we are sending ItemNumber in the destination URI.In the second page we will do query by getting parameter Item Number.
    My problem is in the second page there is "Print" button.When i click Print it will throw exception since there is no Item Number.
    Can anyone help me how can i pass dynamically Item Number to the Printable page.
    I tried adding ItemNumber={@ItemNum} in the destination URI of the page.But the value is null :-(
    Any help.......................

    Hi,
    When you add a paramter the life will be uptill the end of the request.
    Try setting the item number value as a part if TransactionValue or SessionValue.
    The OAPageContext javadoc contains the description for the getter and setter methoods of the above.
    Thanks.

  • Printable Page - Changes to VO not reflected

    I have printable page defined on a page and when clicked, it displays the contents of the page correctly.
    I have a messagechoice in the main page. When i change the value in the drop down and click "printable page" button, it still shows the old data.
    Is there any way that the printable page picks the latest data and shows it? Any inputs are appreciated.
    Thanks.

    I would say that it is the standard behavior. The data is not yet committed.
    Further if you have noticed, the general standard is to provide the printable page button on a final submitted screen where there are no pending changes. Will suggest to rather change your design approach.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Printable Page as .pdf

    Hi,
    Is there any way I can save a "Printable Page", which is in .htm format into .pdf format?
    Thank you.

    No such out of box functionality from OAF. You will have to put your custom code to do that.
    --Shiv                                                                                                                                                                                                           

  • Best Practice for programatically navigating to a page in ADF

    What is the best approach to navigate programmatically to another page in ADF. I can use this in JSF but want to know is there anyother approach for navigation in ADF:
    FacesContext.getApplication().getNavigationHandler().handleNavigation

    BIG BIG ?
    If you use faces you normally use the faces navigation, either direct or via the navigation cases defined in your page flow definition files.
    I guess you can use Flex or Struts but then you are one your own...
    Timo

  • Printable page not working

    Hi All,
    When i click on the pdf icon , in the preview printable page section of a worksheet it says "page not displayed" any ideas.
    Thanks

    Hi,
    check if below link helps
    Printable Page issues
    and if u want to ignore/stop getting this message, below link helps.
    http://answers.yahoo.com/question/index?qid=20080305205645AAt2FLS
    regards,
    Rajan

  • Printable page

    I've in my application the next button:
    <contents>
    <button text="Imprimir pantalla" targetFrame="_blank" destination="${ctrl:eventUrl(uix, 'printMe')}" />
    </contents>
    <handler>
    <event name="printMe">
    <showFacet name="printable"/>
    </event>
    </handlers>
    The problem whit the button is I cant open the printable page in a new window, I obtain an javascript error: _blank is not defined.
    Other question: If I'd open the printable page in a new window, how can I do to include in that new page an href with de javascript window.print.
    thanks

    Hi,
    When you add a paramter the life will be uptill the end of the request.
    Try setting the item number value as a part if TransactionValue or SessionValue.
    The OAPageContext javadoc contains the description for the getter and setter methoods of the above.
    Thanks.

Maybe you are looking for

  • Acrobat 8 unable to install?

    customer unable to post query for acrobat 8 installation, please donot respond?

  • Is there a way to adjust volume of ringtone BEFORE downloading it?

    I downloaded a ringtone last night to my iPhone. Everything went smoothly but find that the ringtone is way too low for me to hear when it rings... is there any way to adjust this before I download it? Let me just say that otherwise the volume on my

  • Ps touch doesnt work

    In my ps touch app is a Facebook Window and i cannot close it!!??

  • Sap Built In Tolerance For Write Offs

    Hi Guys We have been noticing that SAP is automatically writing off balances greater than $100.00 on some customer accounts, however will not allow as small as $0.01 on other accounts to be written off without manual intervention. In our Customer tol

  • Canon printer randomly erroring out during printing.

    A few weeks ago I bought a new AEBS and hooked up my Canon MP530 printer to it. I printed out a few things from my Mac. My wife printed out a few things from her PC. Everything seemed fine. Today I go to print out a simple two page pdf and about 75%