Report Row With Detail (IFRAME) - How to reload Main Page within iFrame

Hi,
Based on Carl's example - Report Row With Detail (IFRAME), i.e:
http://htmldb.oracle.com/pls/otn/f?p=11933:17
Within my scenario, I have a button within the iframe section of my report that calls a pl/sql process that performs some database processing.
What I basically need is a means of performing a page refresh of the main page, when this button within the iframe is pressed. In Carl's example, that would be page 17.
As mentioned, I call a PL/SQL process within the iframe, but unsure how to then refresh the main page - parent page.
Any help would be appreciated.
Thanks.
Tony.

Tony,
you could insert the following script to the region footer of a region located on your "iframe"-page.
<script>
parent.location.reload();
</script>
But this is dangerous because everytime the parent is being reloaded, the iframe is loaded, too. Risk of loop...
A possible solution is to conditionally display a html region (with the script) on your iframe-page basing on a request. You could post the request as a result after your plsql processing in a branch.
Regards,
Jens

Similar Messages

  • Report Row With Detail (AJAX) by Carl - How to implement?

    I just had a look at Carl's example place and I'd like to implement his Report Row With Detail feature. But how, it's made up of 3 sections:
    1. a query
    2. javascript
    3. application process
    The query on which the report is based and where I want this feature is:
    select leverancier, artnr, vendorcode from plijst where productgroep = :p1_assortiment_tree or subgroep = :p1_assortiment_tree
    A break is defined on Leverancier
    I understand the query and the application process part. But where goes the Java part???
    Peter
    Message was edited by:
    Pete

    Tried to upload your example application, unfortunately it does not seem to upload properly in my APEX v2.0 environment
    Can you please confirm if your example works with APEX version 2
    and does the Javascript go in the Page Header or Region Header/ Footer area
    thankyou
    Frank

  • Report Row With Detail (IFRAME)

    Hi,
    I am trying to implement the Report Row with Detail but not successful.
    I have gone thru the various threads in the forum.. but i am unable to
    get it. It would be great if I could know the step by step process to do the same.
    I have created two regions. The first region (the query to it) also
    has a show_region link.. I have copied and pasted the javascript given
    by Carl.
    Thanks,
    shilpa.

    Hello,
    Ok then you are almost there so when you submit the form to update your data on a sucessful save you are going to create a plsql region that just uses htp.p() to write out the javascript to update the report in the main page.
    a simple example would be something like this.
    Lets say I'm getting back values to update the two first table cells on my parent report.
    <script>
    /*set up call back function*/
    function ReportRowUpdate(){
    var lRow = parent.g_LastRowOpened; /* hook to last row clicked */
    lRow.cells[0].innerHTML = 'SOME VALUE FROM DATABASE 1';
    lRow.cells[1].innerHTML = 'SOME VALUE FROM DATABASE 2';
    /*call call back function*/
    ReportRowUpdate();
    </script>
    And that should be it.
    Carl
    Message was edited by:
    Carl Backstrom

  • Report row with detail (AJAX)

    Hi,
    In Carl's report row with detail (AJAX) demo, is there any way to show all detail row by default when the page is loaded?
    http://apex.oracle.com/pls/otn/f?p=11933:13
    Thanks.
    Andy

    Hi Andy,
    In Carl's example, the "details" content seems to be from a table that has a one-to-one relationship with the main table. If this is the case, you would probably find it easier to use a "Named Column (row template)" type of report template and lay out the report as you need it rather than use Ajax
    Otherwise, I'm sure it would be possible to loop through a report and make a series of Ajax calls to retrieve the details should there be multiple records required.
    Andy

  • Carl's Report Row with Detail Example

    Hi,
    Hoping someone can assist, I am looking at using Carl's "Report Row with Detail" example at:
    http://apex.oracle.com/pls/otn/f?p=11933:1
    The only thing that I am unsure about is that , instead of using the words show comments/hide comments, I would actually like use an image that will toggle, i.e initially have a plus.gif (+) image to expand row and then toggle to a minus.gif (-) image to hide the row.
    Using Carl's example, would really appreciate some help on achieving this. I tried replacing the innerhtml with an image file but had no luck.
    Thanks.
    Tony.

    Hello,
    There you go http://apex.oracle.com/pls/otn/f?p=11933:107 just make sure the images have a plus and a minus in the filename,
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Merging word document with pdf file how do you renumber pages?

    After merging a word document with pdf file, how do you renumber pages?  The pdf has more pages than the word document.  I first converted the word document to a pdf, using Acrobat Standard 9.

    Hi Petek ,
    After you merge the files or combine files ,click on the Page Thumbnails panel on the left hand side.
    In the Page Thumbnail panel ,right click and you will get a drop down list .Select the option "Number Pages".
    You will see a dialog box with several options .You can renumber the pages from there as per your requirement.
    Regards
    Sukrit Dhingra

  • With acrobat 7, how do I make links (within the pdf) open in a new window-tab?

    With acrobat 7, how do I make links (within the pdf) open in a new window-tab?

    No love? From anyone?

  • With latest iPhoto how do you share photos within network?

    With latest iPhoto how do you share photos within network?

    You don't, in a nutshell.
    Tell the devlopers what you think:
    iPhoto Menu -> Provide iPhoto Feedback

  • NUMBERS: How do I delete pages within a sheet?

    Using NUMBERS:  HOW DO I DELETE PAGES WITHIN A 'SHEET' ?

    You may want to try posting this question over in the Numbers forum, here.

  • How to open navigate page containing iframe from the iframe context

    Hi,
    I am using jdev version 11.1.1.6.0.
    I have iframe in that i have given source as a url of page. On that page load of iframe page i want to navigate the parent page of iframe to the other page i.e. replace original parent page.
    how can I acheive that.
    When generally I use following method it redirects to that page.
    with url like /faces/oracle/webcenter/portalapp/pages/common/temp.jspx
        public void navigateToUrl(String url) {
            //Redirect to Page with givn url string     
            FacesContext fctx = FacesContext.getCurrentInstance();
            ViewHandler vh = fctx.getApplication().getViewHandler();
            UIViewRoot viewToRender = vh.createView(fctx, url);
            fctx.setViewRoot(viewToRender);
            fctx.renderResponse();
        }but in the page load of fragment page its not redirecting parent page or page in the fragment also .
    So what is work around to naviagate parent pages.
    Any help is appriciated.

    Hi,
    this here doesn't seem to make sense to me:
    I have iframe in that i have given source as a url of page. On that page load of iframe page i want to navigate the parent page of iframe to the other page i.e. replace original parent page.
    So you load a page in an iFrame and on load of this page you want it to replace th eparent page in which it loads. So why don't you directly navigate to that page?
    Frank

  • How to insert a page within a document

    I need to insert an additional page within a document without reformatting my layout.
    How do I do that?
    --- So far "Insert" > "sections" > "text page or blank" puts the additional page at the end of the doument.
    Tips anyone?
    (Pages 09 version 4.3)

    Luanne,
    When you Insert a Section from the Add Section tool or the Insert Menu, the new section will be inserted directly after the current section, the section that the Insertion Cursor is in, or the Section Selected in the Thumbnails pane.
    You can't insert a new section in the middle of an existing section, so it goes at the end of a 1-section document, which is what I would guess you have, a 1-section document. What you probably should do is insert a Section Break at the point where yiu want to add a section or page. Or forget about adding a Section and just Insert a Page Break there.
    Jerry

  • Reports executes with status FINISHED_WITH_ERROR.how to see error log

    hi
    I have executin following codes
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,ASYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'/u02/oradata/data/REPORTS/PE4.rdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'/u02/oradata/data/REPORTS/aa.pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_ora_apps');
    v_rep := RUN_REPORT_OBJECT(repid);
    WHILE REPORT_OBJECT_STATUS(v_rep) in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
         message('Status is '||REPORT_OBJECT_STATUS(v_rep));
         i :=i+1;
         if i>100 then
              exit;
         end if;
    END LOOP;
    message('Status is '||REPORT_OBJECT_STATUS(v_rep));
    The messages I got are
    ENQUEUED
    ENQUEUED
    ENQUEUED
    ENQUEUED
    RUNNING
    RUNNING
    RUNNING
    FINISHED_WITH_ERROR
    Could you please tell me how can I see the error log?
    Regards

    hi
    please try the following code i hope it will help u or modify it with ur requirements.
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('REPORT6');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no p_serial=' || to_char(:ins1.serial) );
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
      rep_status := report_object_status(v_rep);
    END LOOP;
    if
    rep_status = 'FINISHED'
    then
      WEB.SHOW_DOCUMENT('http://Sarah:8889/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1) ||
      '?server=repserver' );
    else
      message ( 'error while running reports-object '  || error_text );
      message ( ' ' );
      clear_message;
    end if;
    end; sarah

  • Report program with detail list and GUI status.

    Hi,
    I am working on type 1 program (report) and want to use detail lists.
    I want to use a GUI status and want to use AT LINE-SELECTION. But AT LINE-SELECTION does not work when I use a GUI status.
    How do I achieve this?
    Thanks.

    Hi
    In the secondary windows, it is not possible to have GUI Status.
    If you need like that, you should go for ALV Reports.
    Here, You can have GUI Status only in the selection-screen as below..
    REPORT  zak014  LINE-SIZE 60 LINE-COUNT 20(2).
    TABLES: sscrfields.
    * Appliction Tool Bar Elements
    SELECTION-SCREEN FUNCTION KEY 1.
    SELECTION-SCREEN FUNCTION KEY 2.
    * Selection Screen
    PARAMETERS: matnr TYPE matnr.
    INITIALIZATION.
      sscrfields-functxt_01 = 'TEST1'.
      sscrfields-functxt_02 = 'TEST2'.
    START-OF-SELECTION.
      WRITE:/20 'CLICK HERE TO NAVIGATE'.
    AT LINE-SELECTION.
      WINDOW STARTING AT 5  5
             ENDING   AT 50 18.
      CASE sy-lsind.
        WHEN 1.
          WRITE:/ 'This is First window'.
        WHEN 2.
          WRITE:/ 'This is second'.
      ENDCASE.
    TOP-OF-PAGE.
      WRITE:/5 'LINE SELECTION'.

  • The home page short cut with the little house on it is gone with Firefox 4. You can only go home with the History feature or reload the page from desktop shortcut. A big shortcoming in my opinion.

    Hey guys..you used to have a home page shortcut on your toolbar in the past. A little picture of a "house" Now it is gone, gone. The only way I can get to the start page is with the "History" tool or going back to the icon on my desktop. Right now, I would rather go back to the older Firefox that had a Home page short cut. '''''''''ha'''''''''

    The "Home" button was moved to the right-side of the Navigation Toolbar. <br />
    The "Reload" and "Stop" button are on right-side of the Location bar, combined into the same space as the "Go" button; whichever button is appropriate at any time is what is displayed. The "Go"button when you are typing in the Location bar, the "Stop" button when a page is loading, and the "Reload" button when a page is fully loaded.
    If you want any or all of those buttons in their former location, as they were in Firefox 3.6, you can Customize your Toolbars and put them where you want them. <br />
    [https://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar]

  • AOL is attempting to force users to use their toolbar and not Firefox's and sports a Firefox logo along with an "update" button on the main page. Screen shots.

    I use Firefox and access my AOL from there. When I get to the AOL homepage, before logging in to email, as of yesterday there was a banner across the top with the Firefox Logo saying to click here to download the new AOL/Firefox upgrade.
    When I clicked, it went to "exe.aol/toolbar" and supposedly an AOL webpage to download their toolbar.
    Sounds like AOL is fraudulently using Firefox's name in order to get people to download an AOL toolbar.

    hello kincaidjesse, please report that at https://www.mozilla.org/en-US/legal/fraud-report/ so mozilla can investigate that and take further actions if necessary. thank you!

Maybe you are looking for

  • Query on integrating windows file server into SAP KM using WEBDAV

    hi I have sucessfully integrated windows file server into SAP KM using WEBDAV. I have query in it regarding the possible validation against the portal Database user. Can we configure such that the user comparison happens for LDAP as well as database

  • Connecting iMac to an existing network using AirPort Extreme

    Ok, I've just switched to Macs having used PCs for years. I have an Intel iMac with a built in AirPort card but cannot connect to my wireless network. AirPort can detect that the network is there, I have the 20something didgit 128-bit Hex WEP code an

  • Submenu getting cut off

    Hi i am a newbie to flash i one of my frnd bought the menu from flashden website here is the test forum http://nitro.byethost14.com/ the menu submenu gets cut off and is within that black region can anybody tell me how to make it come out of the blac

  • [SOLVED] Trying to upgrade GRUB 1.99rc~1 to 2.00-2.

    Hello, I was trying to upgrade my version of GRUB from 1.99rc~1 to the latest version (2.00-2) which was recently installed via pacman. I am using grub-bios with an GPT partition. Partition table scan: MBR: protective BSD: not present APM: not presen

  • Video on two computers.

    Ok so. My music is on my computer but it doesnt have a DVD Drive so i can upload my videos. SO is there a way to keep my music and add the videos to my Ipod?