Javascript Issues with 'javascript:window.open'

Hi guys,
Really hoping someone can help out here. To set the scene I have detailed a similar example from the OEHR Schema based on the EMP table.
I have a page defined with a classic report with all the contents of the EMP table, for example :
HIREDATE | SAL | COMM | DEPTNO | MGR | JOB | ENAME | EMPNO |
I have edited the column EMPNO report attribute so i can create a link from the EMPNO column, in the Column Link section i have defined the following attributes :
Link Text : #EMPNO#
Target : URL
URL : javascript:window.open('f?p=&APP_ID.:28:&SESSION.::NO::P28_EMPNO:#EMPNO#');
So in the URL i call the javascript function to open a new window, passing the Application ID, Page 28, Session ID and a parameter for the EMPNO.
So far this all works fine, the new page opens which is also defined with a report region, however this time i pass the parameter item P28_EMPNO into the SQL to return just that row. I understand that from a security stand point this is probably bad practise however, at the moment this appears to be the only way i've managed to figure out how to create a pop up window passing parameters.
The problem though is the original APEX page must be doing some sort of branch when the EMPNO link is passed, as the page refreshes with the following :
The actual URL used is : javascript:window.open('f?p=101:28:2506768909457997::NO::P28_EMPNO:7369');
and the page just displays : [object Window]
Hope this makes sense.
Thanks in advance

Report your problem to Apple here: http://www.apple.com/feedback/ipad.html

Similar Messages

  • When I click on the - fire fox disappears from the task bar; it is still open but gone from the task bar, if I click on any icon it opens a new Firefox window, I end up with several windows open but none on the task bar.

    Question
    When I click on the - to minimize fire fox, it does not close the window but the firefox icon disappears from the task bar; it is still open but gone from the task bar, if I click on any other icon it opens a new Firefox window, I end up with several windows open but none on the task bar.

    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test to see if that helps.
    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • HT202008 I am having issues with my Window 7 on boot camp. My hardware is Macbook Pro Mid 2010 model and working on OS X 10.9.5. Recently I went to windows 7 to do a system upgrade but failed and was told to update the bootcamp drivers.

    I am having issues with my Window 7 on boot camp. My hardware is Macbook Pro Mid 2010 model and working on OS X 10.9.5. Recently I went to windows 7 to do a system upgrade but failed and was told to update the bootcamp drivers. I installed boot camp5 but seem to be the wrong version and change to boot camp 4 which was updated okay. However I still cannot do the updates. Can someone advice me please? Thank you!

    Please see Boot Camp: System requirements for Microsoft Windows operating systems - Apple Support for the appropriate version of drivers related to the specific version of Windows 7.
    MacBook Pro
    (13-inch, Mid 2010)
    4
    4
    DVD
    DVD
    DVD
    MacBook Pro
    (15-inch, Mid 2010)
    5
    5
    4
    DVD
    DVD
    DVD
    MacBook Pro
    (17-inch, Mid 2010)
    5
    5
    4
    DVD
    DVD
    DVD
    Be careful with Windows Updates, especially driver updates. Standard WHQL drivers can cause problems.

  • When I open a new tab, an unwanted website opens instead of my desired home page. THIS IS ONLY AN ISSUE WITH NEW TABS; (opening the web browser AND clicking on the home button frings me to my desired home page.)

    When I open a new tab, an unwanted website opens instead of my desired home page. THIS IS ONLY AN ISSUE WITH NEW TABS; (opening the web browser AND clicking on the home button frings me to my desired home page.)
    I have attached the url of the unwanted site.

    Use this add-on [https://addons.mozilla.org/en-US/firefox/addon/custom-new-tab/ '''Custom new tab'''].

  • Issue with JavaScript

    I keep on getting some popup messages saying that there is some illegal operation with Javascript.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Javascript issue with Firefox 4

    Hello,
    I am facing a strange issue with my APEX application, developed using APEX 3.0.
    One of the pages has a "Select List" item (with static list values). There are also 2 "Date Picker" fields, showing start and end dates.
    Whenever an item is selected from the "Select List" item (for e.g. "Yesterday"/"Last Month" etc.),
    i) the 2 "Date picker" fields are automatically populated &
    ii) the page is submitted to refresh the page contents.
    This is achieved by defining value for "HTML Form Element Attributes" as
    onChange="setRange(this.value, document.getElementById('START_DATE'), document.getElementById('END_DATE'));doSubmit('date_change')"Now, this works as expected on all browsers, except FireFox version 4 (it also works on Firefox 3).
    On Firefox 4,
    a) the value of "Select List" item is populated in "Start Date" item and
    b) the value of "Start Date" item is populated in "End Date" item and
    c) the value of "Select List" is reset to its default value.
    Now, "setRange" is a javascript function and works as expected when I remove the call to "doSubmit" above. But the page submission appears to result in the above issue.
    Any idea how I can debug/resolve this?
    p.s. Let me know if you need more details.

    I am seeing some similar weirdness in manually created tabular forms using apex 3.2 and 4.01. I have an order form where the f01 .. f09 items get saved in a collection when the user hits the next button (collection is truncated then rebuilt using ...add_member). If they go back to the tabular form with the previous button the quantity entered for a particular row in the form gets moved down to the next row. You can hit next and previous and it will keep on happening. Eventually the quantity entered will cycle through all the html rows and back to the top. It does not happen with IE 8, FF 3.6 or Chrome. It is like the fXX items are not properly sequenced in the html form. I have spend hours trying to figure this out to no avail. The only variable is FF 4. I've tried 5 different themes. No luck.
    Dave

  • WebHelp - With help window open, second application click does not bring help window back into focus

    Hello all,
    Using RH11 to create context sensitive WebHelp for use with apigee-to-go console.
    Console allows URL calls to launch help in a new browser window (named within the help project).  Works fine except that the browser help window does not regain focus when subsequent context calls are made from the application.
    Steps:
    With application running in a browser window, I click a help link.  New browser window opens with correct help topic displayed.
    Return to application without closing help window.  Application window takes focus; help window moves to back.
    I click another help link. Help window does not regain focus.  However, it DOES move to the correct topic.
    I've tried lots of things.  Nothing seems to fix this.
    For reference, my context call looks like this:
    http://<URL>/index.htm#<id=37>>wnd=HelpPopup
    Thanks for any help anyone can provide.
    Jeff Seltzer

    Thanks for the responses, but this doesn't really help.
    I'm using a simple URL to make the call.
    (That's all I can do within the web app API console I'm working with.)
    If I knew how to crack open all of the javascript that RH creates (and had that much time to work on it), I'd try to address it.
    I have to give up for now.
    I've just appended >>newwnd=false to the end of my calls, so the help appears in another browser tab, rather than its own window.
    This isn't great, since each call opens a new tab, but that's better than the help window disappearing behind the sea of open windows most of us have going on, only to cause the user to hunt for it (if they even know it's there).
    So, <URL>/index.htm#<id=37>>wnd=HelpPopup
    becomes <URL>/index.htm#<id=37>>wnd=HelpPopup>>newwnd=false
    Thanks all for your pointers.
    If I ever find the time to really work on this issue, I'll post a fix (if there is one).
    (Again, I suspect this is just buggy RH javascript.  RH knows enough to update the contents of the help/browser window, but not enough to focus it.)
    Best,
    Jeff Seltzer
    RoboHelp user since v1.1

  • Are there solutions to Compatibility Issues with Thunderbird, Windows 8.1 and Anti-Virus Software, e.g., MacAfee?

    Since I upgraded to Windows 8.1, Thunderbird freezes up and goes into "Not Responding" mode repeatedly every few minutes. My research indicates that it is a problem with compatibility with antivirus software, which obviously is needed with an e-mail program. How can this problem be solved, or is there an antivirus program that works seamlessly with Thunderbird and Windows 8.1?

    Personally I use ESET NOD32. It is not cheap, but it is unobtrusive and appears to get the job done. Originally I was drawn there for their server protection, but since I no longer have windows servers that need is gone, but I see no reason to change.
    Previously over the years I have used;
    * Norton (Found it just to much embedded into the operating system. Something went wrong with it and Windows would not boot.
    * Microsoft Security Essentials. Any application using large data files was unworkably slow. That included Thunderbird.
    * AVG It was just clunky and I did not like it.
    But the big issue these days is the products are not just anti virus, they are suites including firewalls, password managers/vaults and often spam and scam tools. It is usually these later tools that cause the most issues with the firewalls blocking anything but known versions of known software and spam tools that mess up because it has not had enough testing.
    Basically your on your own in selecting a product5. I can not recommend one. But I seriously question the need for mail scanning. Especially after that remarkable admission by Symantec regarding Norton's not scanning mail.
    Thunderbird does not run any scripts in mail, nor does it do anything with attachments before you open them and then it decodes them and places them in the temp folder where any good anti virus will scan them.
    Personally I suggest anti virus rather than security suite software. Especially so if you use Chrome or Firefox browsers and they both use Google lists of known malware and phishing site to block inadvertent visits.
    Windows has a firewall, your modem (over 90%) has one as well, those firewalls block ports, protocols and route traffic. Do you also need one that blocks programs?
    Mozilla products have a password manager, do you need another? And so the list goes on.

  • Is there a way to get firefox to warn me when exiting with multiple windows open?

    When I click File > Exit in the menu, I want firefox to warn me if I have multiple windows open.
    I don't want it to warn me about multiple tabs though.
    Is there a way to get it to do that?
    I would prefer to just hit the red X in the top right corner, which would avoid this problem, However, if it is the only firefox window I have open, then the red X will often not properly shut down firefox exe, so next time I try to launch firefox it won't work and I have to end task on firefox exe! I was told to use File Exit to improve the chances that firefox will properly close, but doing so introduces this new issue.
    thanks

    That doesn't work.
    Once I set it to true, if I have one window open with multiple tabs, and try to exit, it comes up with a warning box, which I don't want.
    Then if I check it to say 'don't show this again', the next time I run firefox the showQuitwarning setting has been set back to false. So then when I have multiple windows open and I file exit, all firefox shuts down with no warning.
    The reason I want this is because I can *see* the tabs of the window I am in when I am clicking on file|exit, so visually, I'm not going to close anything that I didn't mean to close because it's right there visible to me at the top of the screen (the tabs are seen at the top of the screen) in the same area as where I am looking at and clicking File Exit.
    But other firefox windows are not visible up there so it is easy to forget that they are open, since a lot of times I don't have any other windows open (if I *always* had other windows open then I would not forget them and be in more of a practice of checking the taskbar for them)
    And this is all because I can't hit the red X in the top right corner without increasing the odds of hung firefox processes that don't truly exit (thus making me unable to start another session later without Ending Task which isn't good).
    The hanging is daily but random and not reproducible, so it's very difficult to troubleshoot or fix.

  • Finder starts with five windows open!

    I have looked for an answer on here, but haven't been able to find it. For some reason, my Finder just started opening five windows every time I launch it (same five, all different). I have the newest OS version.
    I have closed all of the windows, relaunched finder, rebooted the system -- all to no avail.

    Choose Go to Folder from the Finder's Go menu, enter ~/Library/Preferences/ as the folder's location, and move the file named com.apple.finder or com.apple.finder.plist to the desktop. Next, relaunch the Finder again, and see if the windows are open.
    This is not an issue with login items in the Accounts pane of System Preferences; if it was, the windows would not appear when the Finder was relaunched while remaining logged in.
    (24061)

  • ISSUE WITH SUPPLIER SITE OPEN INTERFACE IMPORT PROGRAM in R12

    I am facing issue while submitting supplier site open interface import program programmatically using fnd_request.
    I am uploading the interface tables with the mandatory data and running the standard Request Set for Suppliers.The program is creating the Suppliers but is unable to create the Supplier Sites.It is getting completed with no rejections as well as imported records.
    It is updating the Supplier Sites Interface table (ap_supplier_sites_int ) with status as rejected with no rejected records in ap_supplier_int_rejections table.
    I am using the following code.
    Step 1 - call set_request_set
    apps.fnd_file.put_line (apps.fnd_file.LOG, 'Calling set_request_set...');
    success := fnd_submit.set_request_set ('SQLAP', 'FNDRSSUB852');--'FNDRSSUB1703');
    IF (NOT success)
    THEN
    RAISE srs_failed;
    ELSE
    apps.fnd_file.put_line (apps.fnd_file.LOG,
    'Calling submit program first time...'
    END IF;
    -- Step 2 - call submit program for each program in the set
    success :=
    fnd_submit.submit_program ('SQLAP',
    'APXSUIMP',
    'STAGE10',
    'ALL',
    1000,
    'N',
    'N',
    'N',
    CHR (0)
    IF (NOT success)
    THEN
    RAISE submitprog_failed;
    END IF;
    apps.fnd_file.put_line (apps.fnd_file.LOG,
    'Calling submit program second time...'
    success :=
    fnd_submit.submit_program ('SQLAP',
    'APXSSIMP',
    'STAGE20',
    'ALL',
    1000,
    'N',
    'N',
    'N',
    CHR (0)
    IF (NOT success)
    THEN
    RAISE submitprog_failed;
    END IF;
    -- Step 3 - call submit_set
    apps.fnd_file.put_line (apps.fnd_file.LOG, 'Calling submit_set...');
    req_id := fnd_submit.submit_set (NULL, TRUE);
    IF (req_id = 0)
    THEN
    RAISE submitset_failed;
    END IF;
    apps.fnd_file.put_line (apps.fnd_file.LOG, 'Finished.');
    And in the interface table the record status is rejected and ther is no corresponding record in ap_supplier_int_rejections.
    but the supplier is getting created succesfully.
    ### Steps to Reproduce ###
    INSERT INTO ap_suppliers_int
    (exclusive_payment_flag,
    vendor_interface_id,
    vendor_name,
    segment1,
    vendor_type_lookup_code,-- set_of_books_id,
    status
    VALUES ('N', --'N',
    ap_suppliers_int_s.NEXTVAL,
    'TEST_REC4',
    4428813,
    'VENDOR', --2041,
    --rec_spl_site_bank_hdr.set_of_books_id,
    'NEW'
    INSERT INTO ap_supplier_sites_int
    (vendor_site_interface_id,
    vendor_interface_id,
    vendor_site_code,
    address_line1,
    city,
    state,
    zip,
    country,
    operating_unit_name,
    status --exclusive_payment_flag
    VALUES (ap_supplier_sites_int_s.NEXTVAL,
    -- VENDOR_SITES_INTERFACE_ID
    ap_suppliers_int_s.CURRVAL,
    -- VENDOR_INTERFACE_ID
    'REC_VDR_SITE4',
    -- VENDOR_SITE_CODE
    'REC_ADDR4',
    -- ADDRESS_LINE1,
    'REC_CITY4', --CITY
    'REC_STATE4', --STATE
    3442121,
    'US', -- COUNTRY,
    ' Test US Operating Unit',
    'NEW'
    );

    Hi
    I have the same issue with ap supplier sites interface program .. Did your problem got solved..I will be thankfull for any help
    Thanks

  • HT2506 Hello I'm unable to open any pdf's with preview window opens up with message file couldn't be opened because you don't have permission to view it (none of the pdf's have any security thanks if you can assist

    Hello this week I'm unable to open any pdf's with preview, when I select to open a window opens up with message "file couldn't be opened because you don't have permission to view it" none of the pdf's have any security thanks if you can assist

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Text issue with Chinese Windows XP

    Hello,
    When installing a distribution made with the english version of CVI 2010 on a PC with Windows XP in Chinese I have an issue with some caracters like µA or ° (see below)
    What could be the reason of this behavior and could I solve it?.

    Hi Bertrand_ENAC,
    Have you ever try to modfy the format and language settings in the setting panel on windows xp ?
    Best Regards.
    Aurélien Corbin
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Cahiers de vacances de NI
    Présentations en ligne : 12 fondamentaux à réviser, du 9 juillet au 29 aoû...
    Attachments:
    language settings.png ‏27 KB

  • Airdrop only works with Airdop window open

    I have Airdop running on two computers. But it only works when both computers have the Airdop window open. That is stupid. When somebody wants to send you something he can't see your computer when the Airdop window is closed. If Apple means this as a "do not disturb function" it would be done better with a switch. I don't like to have windows open.
    Steffen

    Sorry, but I have to agree with the OP. There should be a switch, and perhaps the default for that switch should be as you stated, however it would be great to have the option there.
    And anyway, with file sharing on (like most Macs on my uni network have, see attached), you can put anything in their drop boxes at any time. Airdrop is a simplified version of this, so why not have an always on option as well?
    Waiting for a clever person to come up with hack. Perhaps it drains battery life in terms of the ad hoc feature of Airdrop. I dunno.

  • Tab focus issue with 2 popups open

    Hi!
    I've just got a nasty problem with 2 popups and a tab focus.
    First poup automatically opens second popup and if you press TAB
    key focus goes to the first popup window - underneath the top one.
    As a matter of fact - if you open the second popup by
    clicking on the button in the first window - no problem. It happens
    only if the first window opens second via AS.
    I've found on the internet the following
    article:
    But my joy was premature - this piece code:
    quote:
    SystemManager.activate( popup );
    is simply uncompilable. I tried other methods, like:
    this.systemManager.activate(this);
    without any luck.
    Does anybody know the solution to this problem?
    Thanks in advance!
    Cheers,
    Dmitri.

    Manfred,
    Thanks for your reply. I tried requestFocus() and it gives the same results. Also Sun's 1.4.0 API (http://java.sun.com/j2se/1.4/docs/api/) mentions the following with respect to the requestFocus() method in the JComponent class:
    Because the focus behavior of this method is platform-dependent, developers are strongly encouraged to use requestFocusInWindow when possible.
    That is why I used requestFocusInWindow.
    S.L.

Maybe you are looking for

  • LabVIEW 6.1 Freeze / Hang – Related to User Interactio​n / Potentiall​y File I/O

    Hi Everyone As you can see by the title, we are using an archaic version of LabVIEW. This will not change, as the system has been running since 6.1 was new, and it is our philosophy not to touch a running system. The thing is that it isn’t a running

  • Getting rid of blank space in jtable

    I'm creating a jtable dynamically in a a scrollpanel. The problem is I get scrollbars even if the rows take half the space of the panel. How do I resize the table so the the blank space after the last row goes away?

  • Lvrt.dll error in application

    Hi, I have built an application from my development PC and I am running it on a target PC. The application crashes regulary on the target PC, within 20 min. Windows displays an error measage that states that lvrt.dll caused the failure. I have been s

  • XML DB when you have a lot of XSDs....

    My client has a data situation where we have a lot of XSD schemas (and multiple versions of each XSD) which describe data that needs to be loaded. If I wanted to use schema-based / structured-storage....Can the same xmltype column be mapped to multip

  • I AM USING KEYBOARD WITHOUT MOUSE AND LETTER "H" NOT WORKING

    I AM USING KEYBOARD WITH NO MOUSE AND LETTER "H" NOT WORKING DOES SOMEONE KNOWS WHAT CAN BE DONE. THANK YOU MARIA