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.

Similar Messages

  • 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 - Warn About Changes issue

    Hi,
    I am implementing Printable Page functionality by giving TargetFrame = _blank. And also I am setting Warn About Changes property to True. (pageLayoutRN's WarnAboutChanges is also set to True)
    But after making some changes in the page and If I click the Printable Page button, the Save Model warning is not coming.
    Any solution ?
    SenthilKumar J

    I guess then it explains the issue. Save model gets invoked only on the following scenario:
    # Selecting a tab, horizontal navigation or side navigation menu entry
    # Selecting a global button (implies retainAM=N)
    # Selecting a breadcrumb link.
    # Selecting a link with URL parameter retainAM=Y and the Warn About Changes property set to True (note that this applies only to declaratively defined links; this does not apply to menu links)
    # Selecting an image which does not post your changes. For example, selecting an LOV icon or a long tip window will not trigger the save model warning. However, if the user selects on an image that navigates to Yahoo, for example, the warning is displayed.
    # Selecting a link that performs a form submit and has the Warn About Changes property set to True.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 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

  • Printable page table rows incorrect on showPrintablePageBehavior

    I'm using 11.1.1.3.
    My page has a table that shows rows returned from the database. I also have a command button with a showPrintablePageBehavior tag.
    The table fetchSize and autoHeightRows are set to the rangeSize. Let's say the result set is 100 rows and the table displays 10 rows at a time. If I click the printable button and don't scroll the table the printable page displays fine. As I scroll down the table fetches the next batch of 10 rows.
    When I then click the printable button the rows that are displayed are different that what was on the original page. It shows the first 10 rows and the the row count indicates rows 1-20.
    No matter what row I scroll to, the printable page goes to the beginning of the Iterator's cached rows. The VO Access Mode is set to Scrollable. No other modes seem to work.
    The issue happens even on the demo apps that go to the HR database.
    I've spent considerable time researching this to no avail. That's why I'm finally asking the forum.
    Any guidance would be appreciated. Thanks.

    Sorry, another thought...
    Basically I want the user to be able to print what they see. If the user scrolls down to row 43 I need the printable page to actually show rows 43 -53 and indicate that they are seeing "Rows 43-53 of 100". That doesn't seem to ever happen UNLESS the user has not scrolled at all.
    I know that the user could just click the browser Print button on the original page. However, with panel splitters, flash dvt graphs and other buttons on the page it really doesn't look right.
    Thanks again!

  • Printable page and showPrintablePageBehavior

    Hi,
    I have a page that has a short table. I added a command button to preview this page to be eventually sent to the printer by using showPrintablePageBehavior
    The issue is that I would like to control how the page appears in preview/printable format. In particular, I would like to control stretching of columns of tables and possibly pagination. If i can make the printable page appear as it appears in query/insert mode, that would be fine.
    The interesting thing is that controls used to control stretching columns etc. (e.g. last column stretch) do not seem to apply to the page in showPrintablePageBehavior printable mode.
    I was wondering if there were certain things i can do. I have already read 33.2 Displaying a Page for Print at http://download.oracle.com/docs/cd/E15523_01/web.1111/b31973/ad_output.htm#CHDIDBAB and researched this topic.
    Thanks in advance.

    Make a PDF.
    http://www.onjava.com/pub/a/onjava/2003/06/18/dynamic_files.html
    -S

  • Printable Page - Corporate Branding

    Hi
    The corporate branding image disappears on Printable Page. The requirement is to print the branding image also.
    Thanks
    Gautam

    Is it a custom page or a seeded page? Have you done any modifications. Please provide enough details with your issues.
    --Shiv                                                                                                                                                                                                                                                                   

  • Printable page's with buttons

    Hi all,
    In some of the custom page's we have a printable page button where user can take print out of page from PRINT option in FILE menu .
    Recently we have upgraded to R12 and we are facing a strange issue where when we click printable page button we are getting buttons on that page .
    Generally, printable page is a Read only page which will not be having any navigation, action controls(Buttons), It will be an image of our original OAF Page .
    Pls help me on this as client dont want to have any buttons on that page .
    Properties :-
    item :- PrintView
    item style :- button
    Attribute set :- /oracle/apps/fnd/attributesets/Buttons/PrintablePage
    Destination URI :- OA.jsp?page=/who/oracle/apps/xxwp/wp/shareallocation/webui/XXWPSearchSOAPG&retainAM=Y&OARF=printable
    Target Frame :- _blank
    Regards
    Karandeep Singh

    hello peter.
    im still on cs4,i have seen the new cs5 features but havent updated yet.and thanks for that spread view it did work.as well as bobs help by
    viewing it in the pdf using view>2-up page.
    best regards.

  • Printable page - Jdeveloper 10.1.3 for application 12.1.3

    Hi,
    I have created a custom page where there are 3 regions, Search region (rendered true always), Summary region and detail region.
    Summary region and Detail region are switching between each other based on the user selection.
    User clicks a button Summary Display to view summary region and for Detail region rendered property becomes false.
    The same is there for Display region. I am achieving this switching between Summary and Detail region by PPR.
    When the page renders for the first time I am displaying Sumary Region below Search region.
    I am using Printable Page also at page level.
    Whensoever a user press Printable Page it shows the Summary Region and its content alongwith Search region and its content even though
    on the main page we have Summary region and Detail Region shown.
    The issue is detail region is not shown alongwith Summary region on Printable page when on the main page Summary region and Detail region is shown to user.
    Is this the behavious of Printable Page? Can anybody out there please confirm
    If not then can anybody please help me to fix it.

    Hi,
    10.1.3 in Oracle JDeveloper does not have this functionality. So you need to post the question to a forum (applications ?) that share the same technology
    Frank

  • IReceivables Transaction Printable Page Erroring out

    Hi,
    I am logging into Oracle Applications E Business Suite (11.5.10) and searching for a Customer. Then I search for the Transactions and navigate to the Transactions Page. There is a 'Printable Page' button on clicking of which we see the Printable Page. Also I have enabled BPA for this configuration.
    Now I have also configured a Portal and invoke the iRecievable Application from there. All the other Pages work fine. But when we navigate to the same Printable Page, we get the Error 'Internet Explorer cannot show the Web Page'.
    This is a high priority issue for us and any pointers would be appreciated.
    Thanks
    Sumit

    This is the Page URL being invoked internally:
    http://appprod.mercmarine.com/OA_HTML/OA.jsp?_rc=ARITEMPCMDETAILSPAGE&_ri=222&Ircustomertrxid=%7B!!VIO0iijTNqncQL080C6TnA%7D&Ircashreceiptid=&Irtransactiontype=CM&Irtermssequencenumber=%7B!!WVeo1wO0wF6vdKd0hY0V6w%7D&addBreadCrumb=Y&_ti=157715834&ViewType=PRINT&UpdatePrintFlag=Y&oapc=17&oas=js2D88TLghZen728TIFoVw..
    & this is the URL being invoked from Portal which fails:
    https://mercnet.mercurymarine.com/OA_HTML/OA.jsp?_rc=ARITEMPCMDETAILSPAGE&_ri=222&Ircustomertrxid=%7B!!VIO0iijTNqncQL080C6TnA%7D&Ircashreceiptid=&Irtransactiontype=CM&Irtermssequencenumber=%7B!!WVeo1wO0wF6vdKd0hY0V6w%7D&addBreadCrumb=Y&_ti=157715834&ViewType=PRINT&UpdatePrintFlag=Y&oapc=17&oas=js2D88TLghZen728TIFoVw..
    Any pointers would be really great as I am clueless as of now.
    Thanks
    Sumit

  • Logo in a printable page.

    Hello,
    I created a printable page in OAF custom page using the below code in the button's "Destination URL" property.
    OA.jsp?page=/xx/oracle/apps/per/selfservice/offier/webui/OfficePG&retainAM=Y&OARF=printable
    This brings up a printable page but i don't see the logo(which is at top left corner) in this printable page. Is there any way i can also put a logo in the printable page?
    Thanks in advance.
    -KK

    I had to create an itemtype of Image inside one of the page layouts and add the image instead of using the standard corporateBranding image to solve this issue.

  • 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

  • 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 - 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Can't Find Null Pointer Exception

    Hey, guys! I've spent a couple of hours trying to figure this out, and I've been unable. When I run my program, I get a long list of errors that basically says I have a NullPointerException at Line 160 in LevelRenderer. I can't figure out what is nul

  • How to insert a symbol in Adobe Acrobat Professional 8

    hello, how can i insert a symbol in Adobe Acrobat ? I try many things, like edit in FontCreator, but nothing. Pls help

  • Music and Video List are not shown in iTunes

    My iTunes will not show music or video (or any media) lists or displays. I had repartitioned my Macbook and ended up doing an fresh OSX install. I used Migration Assistant to clone all my apps, including iTunes, from my MacMini. Everything works exce

  • Really need help! HD error

    Oke here goes. I got the flashing folder icon at start up. So i used the DU and turned out i got an: "invalid b-tree node size" How can i get all the files back from my harddrive?> Really got important files on it, projects. I was going to backup fil

  • Dynamic Read

    Hi, I have a dynamic internal table <dyn_tab>.I want to read this table with a key field. Ex: READ TABLE <dyn_tab> ASSIGNING <dyn_wa> WITH KEY "THE KEY FLD" = <lfs_fld>. Please suggest how to achieve above( "THE KEY FLD" ).