Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Page refresh not working with iFrame

LmocsiDec 29 2012 — edited Feb 4 2013
Hi,

I'm using Apex 4.0.2.00.07.
I've created a process for a Refresh button like this:
begin
  -- some processing

  :p31_time := to_char(sysdate,'YYYY.MM.DD. HH24:MI:SS');
  htp.script('window.opener.document.reload(true);');
end;
This code works fine on pages without iFrame (and AFAIK it works fine on Apex 3.x with iFrames, as well).
But in Apex 4 on a page with iFrame, i get the following, and the page will not reload:

Location: f?p=107:35:4045913931304668::NO

It seems that part of the URL was copied to the webpage, since the source of the above line is:
<SCRIPT>window.opener.document.reload(true);</SCRIPT>
Location: f?p=107:35:4045913931304668::NO
And the URL changed to this:
http://my.server:7777/pls/apex/wwv_flow.accept

instead of (this was the original):
http://my.server:7777/pls/apex/f?p=107:35:4045913931304668:::::

Please advise how to refresh a page with iFrames on it.

Thanks and regards,
Laszlo
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 4 2013
Added on Dec 29 2012
2 comments
806 views