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