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!

Pass parameter to a parent page from the child window and retain the session values in the parent wi

Archana2-OracleAug 5 2014 — edited Aug 6 2014

Hi,

I have two apex pages. I open a child page using javascript from the parent page.

Parent window has following items .  P1_Text1, P1_text2, P1_text3 . The  setting is 'Change only when session state is Null', Static assignment.

In the child window : I have two buttons 'Confirm'  and 'Close'.

When I press Confirm button, It sets the value of a parent page item in a PL/SQL process.

BEGIN

/* some calculations

followed by one assignment statement */

:P1_Text1:=final_value;

END;

'Close' button in the child window. has following javascript associated with it :

javascript:

window.opener.location.href =window.opener.location.href;

window.close();


When I press close button, the parent window gets refreshed and P1_Text1 is loaded as per the requirement.  Everything is fine till here.


But the issue is with other page items in the parent page. They become null.


How to retain the values of page items of parent window ?



Regards,

Archana








This post has been answered by Mike Kutz on Aug 5 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 3 2014
Added on Aug 5 2014
2 comments
1,661 views