This discussion is archived
4 Replies Latest reply: Feb 28, 2013 8:56 AM by 994017 RSS

IFRAME issue

603054 Newbie
Currently Being Moderated
I have created a HTML region where I am displaying another page through IFRAME. The other page which is mapped through iframe holds an IR. Each record in the IR have an edit link. The IR is opening fine in the main page. But when I am clicking on the edit link in the IR, the target page is getting opened in the iframe but not in the parent window.

Any solution

Thanks

Deb
  • 1. Re: IFRAME issue
    jariola Guru
    Currently Being Moderated
    Hi,

    You need use javascript that change parent window location.
    I have example here.
    http://apex.oracle.com/pls/otn/f?p=40323:56

    IR below first one have link column and it is calling javascript
    <script type="text/javascript">
     function change_parent_url(url){parent.location.href=url;}
    </script>
    Regards,
    Jari
  • 2. Re: IFRAME issue
    603054 Newbie
    Currently Being Moderated
    I have used another way by mentioning target="_top" in the Link attributes
  • 3. Re: IFRAME issue
    jariola Guru
    Currently Being Moderated
    Hi,

    Cool. Thanks, I did not think that target attribute can be also used

    Regards,
    Jari
  • 4. Re: IFRAME issue
    994017 Newbie
    Currently Being Moderated
    I have the same problem.
    here is what in my BRANCH - URL target with many variable values
    Where did you put target="_top" in the Branch setiing? Thanks.

    http://host/createReport/process.do?p1=&F118_COD.&p2=&F118_COD2.&p3=&F118_COD3.&p4=&F118_DT.&at=&P1_ADDRESS_TYPE.&l=&P1_LICENSED_PREMISES.&f=&P1_FROM_STREET_NUMBER.&t=&P1_TO_STREET_NUMBER.&sb=&P1_STREET_NUMBER.&hf=&P1_HALF_STREET_NUMBER.&sd=&P1_STREET_DIRECTION.&sn=&P1_STREET_NAME.&st=&P1_STREET_TYPE.&ap=&P1_APARTMENT_SUITE.&hy=&P1_HIGHWAY_TYPE.&hn=&P1_HIGHWAY_NUMBER.&hd=&P1_DIRECTIOON.&is=&P1_INTERSECTING_STREET.&p=&P1_MILE_POST.&n1=&P1_INTERSECTION_NAME_1.&n2=&P1_INTERSECTION_NAME_2.&c=&F118_CITY.&ts=&F118_TOWNSHIP.&ty=&F118_COUNTY.&s=&F118_STATEPROVINCE.&z=&P1_ZIP.&cy=&P1_COUNTRY.&p5=&F118_LOC.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points