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!

before a modal pop-up window closed (w/skillbuilder) can a pop-up message appear

KarenHApr 29 2014 — edited May 2 2014

I have an apex 4.2 page (P110) that contains an item called P110_VESSEL_ID.  It is a select list.    It has a post element text of:

<a> id-"popVessels" href="#" style="color:blue">Select from ALL Vessels</a>

when I select the link Select from ALL Vessels a dynamic action is initiated call Show Vessel LIst

event: Click

selection type: jQuery Selector

jQuery Selector: #popVessels

true action:  skillbuilders modal page 2

static URL:   f?p&APP_ID.:114....

this all works beautifully.

A popup window (page 114) appears with a list of vessels (interative report region).   This report has an item VESSEL_ID defined as &nbsp.  It has a URL Link:

javascript:window.parent.$(window.parent.document).apex_model_page('close',#VESSEL_ID#);

when I click on the link for VESSEL_ID it closes the window and the value for P110_VESSEL_ID is populated with the value of #VESSEL_ID# from P114 exactly as intended.

the issue I have now, is that if P114 #VESSEL_ID# is equal to 99999 then I would like an alert to popup telling the user that selecting this vessel may violate federal rule.

any ideas?   and if you could explain any javascript I would appreciate it as I am very new to it.

thanks, Karen

This post has been answered by KarenH on Apr 30 2014
Jump to Answer

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 30 2014
Added on Apr 29 2014
6 comments
2,394 views