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

I have an apex 4.2 page (P110), which contains a component called P110_VESSEL_ID.  Here is a list of selection.    He has a post element of:

< a > href id-"popVessels" = "#" style = "color: blue" > select all < /a > ships

When I select the link, select in all ships a dynamic action is initiated call to see the list of ships

event: click on

selection type: jQuery Selector

jQuery Selector: #popVessels

real action: modal skillbuilders page 2

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

It all works perfectly.

A pop-up (page 114) appears with a list of ships (interactive report region).   This report has a VESSEL_ID point defined as & nbsp.  There a link URL:

JavaScript:Window.parent. $(Window.parent.document).apex_model_page('close',#VESSEL_ID#);

When I click on the link for VESSEL_ID, he closes the window and the value of P110_VESSEL_ID is populated with the value of #VESSEL_ID # of P114 exactly as expected.

the question I have now is that if P114 #VESSEL_ID # is 99999, so I would like an alert to the pop-up window indicating to the user that by selecting this ship can violate the federal rule.

any ideas?   and if you could explain all javascript, I'd be happy that I'm very new to him.

Thank you, Karen

Ok.  I think I may be partly the solution.

the URL must be in single quotes, not double.   and instead of if psupplierVesselId = 999999 in function, I use psupplierVesselId ==

JavaScript: closeMe (' #VESSEL_ID # "," #SUPPLIER_VESSEL_ID # ";)

now, the message does not appear when SUPPLIER_VESSEL_ID appears, however, nothing happens when I select OK or CANCEL.

If I select one building other than UNKNOWN, nothing appears... so the window is not closed and does not transmit the value of P114_VESSEL_ID to P110_VESSEL_ID.   But I'm getting closer... now just need to tie in the status of G_ISSUING_AGENCY.

any help is appreciated!

"REMINDER FOR FEDERAL DEALERS:

When we do a product State (e.g.worms, periwinkles, clams, oysters, etc.), harvested on a shoreline, foreshore, dock or another floating platform no, please make sure no. SHIP is checked (which will show FROM SHORE) instead of the selection of the UNKNOWN ship. »

BTW, I just added the message above, is possible to add the formatting... color of foreground/background "BOLD", different?

Post edited by: KarenH

Tags: Database

Similar Questions

  • How to detect the window closing event and to do some tasks before leaving

    Hello

    Someone knows how to detect the window closing event and to do some tasks before leaving?

    Sridhar

    Structure of the event allows to detect the window closing event. In the structure of the event,.

    Select this VI-> close round table for this task. See attached picture.

  • How can I retrieve an email that I don't have to send before the windows closed?

    original title: Please!  How can I retrieve an email that I don't have to send before the windows closed?

    Windows has shown do not respond before I send an email, I had worked for an hour, but did not save... Thank you!

    Windows Mail? If she wasn't in the drafts folder, it's gone.

    When composing a long message, always save in drafts after the start and after every few sentences, click file | Save or Ctrl + S to save to this day.

  • Modal pop-up window in Chrome...

    Hi all

    I use a javascript function to display a modal pop-up form.  Works fine in IE and Firefox but chrome, he refuses to make the modal window...  Users can click on the window to access the original calling page, even create multiple pop up windows...  Not quite the desired effect!

    Otherwise, someone has seen this behavior?  Any ideas on how to avoid what is happening?

    FYI - if you are using showmodaldialog it is broken in Chrome and is removed in version 36 (forthcoming).

  • I have a file Windows pop up message Protection. It is said: the files which are required for Windows to run properly have been replaced by unrecognized versions.

    Original title: Windows File Protection Pop Up Message.

    I have a file Windows pop up message Protection. It is said: the files which are required for Windows to run properly have been replaced by unrecognized versions. To maintain system stability, Windows must restore the original versions of these files. Insert your Windows XP Home Edition CD-Rom now. The problem is that I do not have this CD and need a way to solve this problem. Thank you

    Hello

    1. have you made any hardware changes or software on the computer before this problem?
    2. when exactly you receive popup?

    Run SFC scans the computer and check.

    SFC tool scans system files and replaces incorrect versions of system files by using the correct versions.

    To run the System File Checker tool, follow these steps:

    1. Click Start and type cmd in the box start the search.
    2. right click on cmd in the list programs and then click Run as administrator.

    If you are prompted for an administrator password or a confirmation, type your password or click on continue

    3. at the command prompt, type the following line and press ENTER:

    sfc/scannow

    Reference: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/system_file_checker.mspx?mfr=true

  • Pop-up message that says cannot complete the Validation. Clicking on help just recycles. Installation Wizard indicates that Windows has been validated, but I still get messages at intervals.

    After a recent relocation, I get a pop-up message that says "unable to perform Validation. After having discussed with a representative of Microsoft, I went to the Setup Wizard that says Windows is already posted, but I always get the message.

    Hello

    Thanks for posting in the Microsoft community!
    You have reached the right forum for your question.

    1. don't you make changes on the computer before the show?
    2. What is the full error message?

    3. What antivirus do you use?

    Method 1:
    You can see the steps in the link and check.
    Windows Genuine Advantage does not validate a copy of Windows XP

    http://support.Microsoft.com/kb/916247
    Note: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry in Windows:
    http://support.Microsoft.com/kb/322756

    Reference link:
    Description of the Windows Genuine Advantage Notifications application
    http://support.Microsoft.com/kb/905474

    Method 2:
    You can run a Microsoft security scanner to make sure that the computer is free from virus infection:
    http://www.Microsoft.com/security/scanner/en-us/default.aspx
    WARNING:
    If you run the antivirus program that is infected by the virus scan will get deleted. Therefore, reinstall the program. Also if the files and folders are affected by the virus, while they might even get deleted

    If you need further assistance, please answer and we will be happy to help you.
  • get a pop-up message "c:\windows\system32\ms32clod.dll is not a valid windows image.

    I get a pop up message "c:\windows\system32\ms32clod.dll is not a valid windows image" every time I start up windows XP.

    Can anyone suggest a solution please?
    Thank you
    Teabag123
    Hello
    • What were the changes made before the issue started?
    I suggest you return these methods:
    Method 1:
    I suggest you make a system full scan just to be sure.
    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.
    Method 2:
    a. click Start, click run, type System32.
    b. enter OK
    c. find mcenspc.dll
    d. right-click on the file, then click on Remove.
    e. restart the computer.
  • DMS window closed right after opening

    Hello

    I just received the RIM signing keys and want to register for code signing so that I got the Jdk 1.6 to 1.5 as specified in the forum thread ' http://www.blackberry.net/developers/forum/threa d.jsp? forum = 1 & thread = 10630. Then all the version JDE works well, but the SDM does not work. The problem is that the window closed MDS right after opening.

    Then I reinstalled the Jdk 1.6, but no change in the MDS.

    FYI: All versions of JDE and MDS worked well before the decommissioning of the jdk.

    Currently, the configuration of my system is:
    1 jdk 1.5 and 1.6
    2 JDE 4.3.0 (the build in MDS does not.) The MDS window close right after opening)

    Thanks in advance.

    Hello

    Decommissioning of the JDK version is not always an ongoing process. I've seen cases where some of the registry keys are left behind. One thing you can try is by running "java-version" and "javac-version" from the command prompt. Also check the path environment variables.

    The following Knowledge Base article has some additional causes/resolutions: http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800738/800792/801079/...

    Tariq

  • by the way the modal pop-up values

    Apexers,
    I need help for this modal pop-up, it works correctly but not succeeded page page1 values to my page3. How to pass those values to parameter page3

    function modalWin() {}
    If (window.showModalDialog) {}
    window.showModalDialog ("f? p = & APP_ID.:3: & SESSION. ": POP: NO:P3_EMPNO: #P1_CUSTOMER_ID #:", "name", "dialogWidth:600px;" dialogHeight:400px");
    }
    else {}
    Window.Open ("f? p = & APP_ID.:3: & SESSION. (: POP: NO:P3_EMPNO:101 ","name"," height = 400 width = 600, toolbar = no, directories = no, status = no, menubar = no, scrollbars = no, resizable = no, modal = yes ");
    }


    Thank you and best regards.

    Hello

    try using this syntax

    function modalWin() {
    if (window.showModalDialog) {
    window.showModalDialog("f?p=&APP_ID.:3:&SESSION.:POP:NO::P3_EMPNO:" + $v('P1_CUSTOMER_ID') + "::","name","dialogWidth:600px;dialogHeight:400px");
    }
    else {
    window.open("f?p=&APP_ID.:3:&SESSION.:POP:NO::P3_EMPNO:101","name","height=400,width=600,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes");
    }
    

    Kind regards
    Erik-jan

  • A stream of unknown addresses pop up in the address book. Remove us them and before long, more pop up.

    Virus?

    A few weeks ago the current till, a deluge of mail unknown addresses pop up in address book.  Remove us them and before long, more pop up.  It will usually be a list of names w / 'B', ', 'A', etc.  Don't know how to prevent definitely more poppingup in the address book.  Is this a virus?  Now, we are sensitive to others recovering info to our email address, etc. ?  Thank you

    Hello

    1. who is your provider of mail service?
    2. using any e-mail client?
    3. what operating system is installed on the computer?

    If you are faced with the question with any e-mail client, then I suggest to run online virus scan.
    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    If the problem is in the webmail, then I suggest you to contact the provider of Web-based e-mail.

  • When I shut down windows I get a pop-up message from Web page

    When I shut down windows I get a pop up message saying-Web page

    "Doesn't not loading skin name 'Talk Talk' the"shell.css"file is necessary in your" sscommon, skins, talktalk, css / ' directory. ". To resolve this problem, please check the name of skin in your config file, or re install the application. »

    What it means?

    Well, I go back to them and tell them you can send and receive mail, but then with them, indicate the exact error message and ask him what is the file that is supposed to be missing.  Its clearly a talk talk question, since talk talk generates the error message.

    Steve

  • DEP Director of windows closing guard

    DEP Director of windows closing guard

    Hello

    DEP is a security feature that can help prevent damage to your computer from viruses and other security threats.

    DEP can help protect your computer by analyzing the programs to ensure that they use the system safely memory. If a program tries to code running (also known as the execution) of memory in an incorrect way, DEP closes the program.

    I suggest you to check the marketing of the DEP settings and then try to work with movie maker.

    To change the DEP settings, you canfollow the steps below:

    1. open system by clicking the Start button, click Control Panel, clicking system and Maintenance, and then click System.

    2. click on Advanced system settings. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. in the course of execution, click settings.

    4. click on the tab Data Execution Prevention and then click Turn on DEP for all programs and services except those I select.

    For more information, please see the link below:

    Change Data Execution Prevention settings:

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-data-execution-prevention-settings


    You can also go through the link below:

    Data Execution Prevention: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/data-execution-prevention-frequently-asked-questions

    Hope that helps.

  • When windows update, the restart may end, it says please wait and won't restart unless I closed it and open it in safe mode, what can I do?

    When windows update, the restart may end, it says please wait and do not restart unless I closed it and open it in safe mode, what can I do?

    Hello

    1st thing to try is a restoration of the system in safe mode

    http://www.windowsvistauserguide.com/system_restore.htm

    Windows Vista

    Using the F8 method:

    1. Restart your computer.
    2. When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
    3. Select the Safe Mode option with the arrow keys.
    4. Then press enter on your keyboard to start mode without failure of Vista.
    5. To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
    6. Do whatever tasks you need and when you are done, reboot to return to normal mode.

    If that does not read this information

    the link below is how to download and get a vista disk startup repair, which you can start from the

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    Here's how to use startup repair system restore command prompt, etc. to bleepingcomputers link below

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    to boot from the dvd drive to be able to you will see a way to get into the bios Setup at the bottom of the screen or command menu start

    It would be F2 or delete etc to enter the BIOS or F12 etc. for the start menu

    Change boot order it do dvd drive 1st in the boot order

    http://helpdeskgeek.com/how-to/change-boot-order-XP-Vista/

    If the problem continues to repost in the correct windows update forum

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_update?page=1&tab=all

  • A POP-UP MESSAGE WARNING EXPIRATION OF WINDOWS VISTA HOME BASIC EDITION

    I have a laptop Compaq Presario V 3000, purchased by me on May 28, 2008 in Bangalore, India (Reliance digital) and delivered to me preloaded with Windows Vista Home Basic with a label number key to the laptop. (The 20 product ID numbers is also known).

    It worked OK all along.

    (For the PAST 3 DAYS, I get the following pop-up message when I boot on):

    THIS FIRST VERSION OF WINDOWS HOME BASIC WILL EXPIRE IN SEVEN DAYS. BACK UP YOUR FILES AND THEN INSTALL no matter WHAT EDITION OF WINDOWS (message on today morning: March 24, 2010).

    I'm confused by this warning that I have a lot of data stored in my laptop (with HDD of 160 GB and 2 GB of RAM).

    I'll be very grateful to expert MS Forum for helping me solve this problem of EMERGENCY, as I am only left with more than seven days!

    Thanking you,

    E Devadpss

    You should backup your data NOW by purchasing an external hard drive and copy your data files on it. Then, I would give the store where you bought it a call. If they do not, call the HP technical support immediately. MS - MVP - Elephant Boy computers - don't panic!

  • By using the system restore before computer restart after updating Windows 10...

    I chose to try the upgrade of Windows 10 on my laptop primary.  Because of the long installation times, I started late in the evening then followed finishing (or almost) the update the next morning.  Until I sat down to 'start' I spoke with a friend who had just completed an installation of two heavy day of problems.    Although I am good enough to solve computer OS and software installation problems, I was very reluctant to go forward.   After serious soul searching I elected continue to use Windows 7, I don't really like.

    That's why I chose to use the system restore before restarting my computer needed complete Windows Update 10.  I chose the previous restore point before the update of windows 10 and ran through the entire procedure and then restarted the computer after the restore point.

    Everything worked fine and I was able to do the foregoing... Except that I can't do updates of security that have been uninstalled.   The Windows Update screen repeat "you must restart your computer...". "with the reboot by holding the active button.

    This window doesn't go away even after reboot, and I can not "check for Updates".

    Does anyone have any suggestions on how to reset this program if I can do all the updates except Windows 10 security.

    Thank you for any assistance.

    By using the system restore before computer restart after updating Windows 10...

    Sorry, System Restore does not cancel the major updates, that's why a lot of automatic updates delete all system restore points. The tool that is appropriate in this case would be a restore Image. If you have not created an image before the upgrade, then you are out of luck.

Maybe you are looking for