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!

open popup window and passing parameter to the popup

708647Jun 26 2009 — edited Jun 26 2009
Hi, I want to open a popup whenever a button is pressed (the page number is 10)

my first attempt was to make a process which have a button condition (after submit)
BEGIN
htp.p('<script type="javascript/text">');
htp.p('javascript:popupURL(
"f?p=&APP_ID:12:&APP_SESSION.::NO::P12_PERSON::PERSON_ID")');
htp.p('</script>');
END;

I want to pass the value
from
page 10 item :PERSON_ID (initial page)
to
page 12 item :P12_PERSON (this is the popup page)

I also made a branch for the button which redirect to page 10, since no button can be left without any branch or redirect.


the problem is, I dont see any popup was opened. Is there something wrong on my syntax?


thanks for your attention, I appreciate any suggestion

danny
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 24 2009
Added on Jun 26 2009
12 comments
2,792 views