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!

Need help on Popup window in apex

uskumar-OracleMay 13 2016 — edited May 31 2016

Hi All

I am creating a popup window in my application and window pops up as expected. However a parameter say 'P1_NEW' is not passed from calling page to popup window.

Can some one help on this. I have created a sample for this https://apex.oracle.com/pls/apex/f?p=55947:1:106314583296398::::: (authentication is not required). Click on Details, a pop up comes with blank. Expected is &P1_NEW. value in pop up window.

code which I am using is

<script>

function modalWin() {

if (window.showModalDialog) {

window.showModalDialog("f?p=&APP_ID.:2:&SESSION.:POP:NO::&P1_NEW.:","name","dialogWidth:600px;dialogHeight:400px");

}

else {

window.open("f?p=&APP_ID.:2:&SESSION.:POP:NO::&P1_NEW.:","name","height=400,width=600,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes");

}

}

</script>

page1 is calling popup window and P1_NEW parameter is passed to pop up window.

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 28 2016
Added on May 13 2016
12 comments
2,133 views