Window.open() & window.close () does not work in Portal application

Hello All,
I am trying to open & close a popup window from a weblogic portal. But the following don't seem to work in this environment. As a web application, it works fine.
<netui:anchor action="DetailedWorkObject" target="<script @lang ='java'> window.open('IndividualWorkObjectDetails.jsp','null','resizable=no, HEIGHT=500,WIDTH=500'); </script>" >
<netui:parameter name="CLAIM_NBR" value="{container.item.claim_Nbr}" />
<netui:label value="{container.item.claim_Nbr}"/>
</netui:anchor></td>
I am using Weblogic Workshop 8.1 SP3.The above code opens up a new window but it cannot be closed with
window.close()
self.close nor this.close().
I have even tried calling the script function where I write this code but without success.
Does any one know why is this happenning ? Please tell me what is the work around for this situation.
Please answer it as soon as possible.
Thanks & have a wonderful Holiday!
Message was edited by aatishbh at Nov 26, 2004 12:02 PM

Not sure if anybiody answered this for you, or if you figured it out, but here you go. In the skins directory, the default skin contains a menu.js file which has the following function at line 232:
function close(menuItem)
if (menuItem && !currentMenuItem)
closeAll(menuItem);
This function is overriding the inherent javascript close() function. Simply rename this to something else (I renamed it to closeItem) and rename the call to it at line 228 (setTimeout("close(tmpMenuItem)", tryClosePause);), and you're golden.
The two functions should look like this:
function tryClose(menuItem)
if (!currentMenuItem)
tmpMenuItem = menuItem;
setTimeout("closeItem(tmpMenuItem)", tryClosePause);
function closeItem(menuItem)
if (menuItem && !currentMenuItem)
closeAll(menuItem);
Hello All,
I am trying to open & close a popup window
opup window from a weblogic portal. But the following
don't seem to work in this environment. As a web
application, it works fine.
<netui:anchor action="DetailedWorkObject"
target="<script @lang ='java'>
window.open('IndividualWorkObjectDetails.jsp','null','
resizable=no, HEIGHT=500,WIDTH=500'); </script>" >
<netui:parameter name="CLAIM_NBR"
value="{container.item.claim_Nbr}" />
<netui:label value="{container.item.claim_Nbr}"/>
</netui:anchor></td>
I am using Weblogic Workshop 8.1 SP3.The above code
opens up a new window but it cannot be closed with
window.close()
self.close nor this.close().
I have even tried calling the script function where I
write this code but without success.
Does any one know why is this happenning ? Please
tell me what is the work around for this situation.
Please answer it as soon as possible.
Thanks & have a wonderful Holiday!
Message was edited by aatishbh at Nov 26, 2004 12:02
PM

Similar Messages

  • Pinch open and close does not work, can anyone hepl me?

    The pinch feature does not work anymore on my macbook air
    I checked in system preferences, trackpad, and this feature is 'checked'.
    I have turned off the computer, what else can I try?
    Thanks

    Click on the Apple icon at the top left of the screen. Select "System Preferences", then "Trackpad".
    Be sure to select:
    "Pinch Open and Close" in the "Two Finger" Menu...
    Sly

  • The 2 finger pinch open and close does not work on my MacBook OSX 10.5 with Firefox 4(2 finger scroll does work)..8

    I tried it in Safari to make sure it wasn't a computer problem, but it works in Safari and in iPhoto.

    Which functions do you want to perform with those gestures?
    You can assign function to the related browser.gesture prefs on the <b>about:config</b> page.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    See "Gesture changes":
    * https://developer.mozilla.org/en/Firefox_4_for_developers#Other_changes

  • I keep getting the message: "what should firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    I keep getting the message: "what should Firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    cor-el,
    Thanks for your prompt reply. However, the sources you gave do not seem to apply exactly to my situation. I have attached some screenshots that show what the dialogue box looks like for a pdf download, and what my settings in the Apps panel of Options are. You will note in the first screenshot that I have checked the box to handle this file type automatically; however, the next time I try to download a file of that type, the same dialogue box appears looking exactly like the one shown, so checking the "automatic" option appears to do nothing. The files to be downloaded from my Gmail messages are not generic or altered file types - they are shown as pdf, doc, docx, etc. So while your intent was good, your post did not help. Thanks anyway.

  • Self.close() or window.close() both not working in iOS8.0.2 safari

    Both these function(self.close() and window.close()) are not working in safari.
    These methods are used to close the tab currently opened.
    So, if there is any workaround for this.

    if you have programming questions then you should likely post them in the developer forums rather than the normal forums
    Developer Forums

  • Hi there, I have a problem with my iPod Classic (from 2009). Everytime I connect it to my computer (Windows), iTunes does not work anymore. Music is automatically deleted on my iPod. Any suggestions please?

    Hi there, I have a problem with my iPod Classic (from 2009). Everytime I connect it to my computer (Windows), iTunes does not work anymore. Music is automatically deleted on my iPod. Any suggestions please?

    Thanks, for info, iPod Classic is a slower machine compared the Nano, unfortunately, if you read these discussions, majority of the freezes involved iTunes 10. Although if might be just slow and some impatient user just disconnect the iPod ands cause more problems. ( Yes I also did that but safely by doing a iPod Hard Reset, before disconnecting).
    Here is the Apple support article that may help you.
    http://support.apple.com/kb/TS1717
    or my usual solution for Windows Users.
    Antivirus has a tendency to freeze iTunes sync Operation with iPod Classic, causing a timeout, which corrupt your iPod filesystem, so when iTunes can't read the iPod, it is pointing to this problem. Other causes is when your iPod hardisk is dying, or your battery is dying causing hardisk crashes.
    My suggestion.
    Connect your iPod to the PC and run chkdsk, to fix any iPod diskerror, then disconnect it, after chkdsk complete.
    Disconnect your PC from Internet. (just to make sure no nasties creep into your system while you syncing.
    Stop the Antivirus program
    Connect your iPod to the PC, using a high speed USB 2.0 port at the back of your PC, do not use any USB Hub.
    When iTunes Open up, Restore your iPod please, this is for iTunes to map correctly, to fix the corrupted filesystem.
    When Restore complete, eject the iPod and reconnect again.
    Sync your ipod, preferably manually Manage in small batches and disconnect after every batch, to check that all is well.
    When all sync is complete, and iPod disconnected, start back your Antivirus and connect back the Internet.
    Good Luck!

  • Windows update does not work after using System recovery disk

    I have a Toshiba Satellite c655 with WIndows 7 64 bit Home premium. The hard drive died on it, so I purchased a new hard drive and purchased the appropriate Recovery media from Toshiba. I followed the directions and installed the 3 disks on to the new hard drive. But Windows update does not work I get the following error: Windows update can not currently check for updates, because the service is not running. You may need to restart your PC    No matter what I try, I can not get it to work. And it will not let me install Windows Defender either. Any ideas or help would be appreciated. Thank you in advance for your time on this matter.
    Solved!
    Go to Solution.

    I get errors saying A problem is preventing the troubleshooter from starting.
    That makes two similarities to the following thread. Both Windows Update and Troubleshooters fail to work correctly.
       Trouble with reinstall of Win7 64 on a L505-ES5018
    The fix was to install a new hard disk driver.
       Intel Rapid Storage Technology
    -Jerry

  • Satellite A300-1EH - windows installer does not works accurately

    Hello, this is my first post on this forum!
    My windows installer does not works accurately.
    What to do?
    Soryy but i dont now much about computer systems.
    Have I to reinstall this installer?
    I'm waiting for your replys.

    >My windows installer does not works accurately.
    What do you mean exactly? Do you see some error? What happen exactly?
    Maybe your CD is scratched or damaged.

  • My camera works with the photobooth and with skype but does not work with online applications such as "lolcam from facebook" or "faceonthehole" application. Please help

    My camera works with the photobooth and with skype but does not work with other applications like the "lolcam" from facebook or the " faceonthe hole" application. Can anyone help?

    There was a issue with school computers being used to spy on kids in their bedrooms, Mac's were involved.
    So Apple most likely tightened the API's to only select, trustworthy companies as not to abuse the web cam access priviledge.
    If you want to use a web cam with these other programs and services, you'll likely have to buy a third party USB one, so you can manually disconnect it.
    There isn't a way to physcially disconnect the built in web cam on Mac's without busting open the machine.

  • [svn:fx-trunk] 5019: ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/ AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spa

    Revision: 5019
    Author: [email protected]
    Date: 2009-02-19 13:17:21 -0800 (Thu, 19 Feb 2009)
    Log Message:
    ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spark equivs
    QE Notes: None
    Doc Notes: None
    Bugs: -
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as

    Hi DST
    This is a great effort and gesture. thank you on behalf of all the newbies.
    PJ

  • Open Link in New Window, sometimes does not work???

    The problem is in FF4b9 an 10 (the only ones I tested). The problem is that when I open a link in a new window sometimes it does not work. Well, I am presented with a new instance of the browser as expected but it seems like the parameter is not passed or something. Also, I have noticed something weird about the new instance. There is a button labeled Firefox in orange and another set of minimize, maximize, and close buttons. Here is a screenshot:
    http://i52.tinypic.com/ilejkn.png

    There is this pref: browser.tabs.loadBookmarksInBackground
    But it doesn't have effect if you open links via the Library, it only works when opened via the browser window (menu, toolbar, sidebar).

  • Sleep Mode in Windows 10 Does not work

    Ever since I upgraded to Windows 10 Sleep mode does not work properly when closing the lid or pressing the shutdown button when you set these to sleep.  I have updated the BIOS, Intel Chip Set Drivers, and Video Driver to the latest.  All HP and Windows UPdates installed. Problem is not everthing goes to sleep, typically my ethernet connection, audio and fan stay on.  Must use the Power Button and Hold to recover.  Each time I close the lid and open it I have a black screen.  I can tell when it is not going to sleep by noticing the Ethernet jack is still lit and the fan making noise after closing the lid or pressing the power button. Here's the kicker, make a change to any of the power settings, save and come back into them and reset to sleep and it will work with the lid ONE TIME ONLY.   There after its back to never working, never fully sleeping and having to reboot. Need Help.

    I just discovered that HP has posted a new support page for people who are having issues with the computers after converting to Win 10. I was particularly interested in the section on issues with Sleep/Hibernation and found this whole page: http://support.hp.com/us-en/document/c03383935 Looks like apart from the driver issue, it could be that the settings in the Device Manager for your KEYBOARD are not set correctly!!! - yeah, that's what I said.  Anyway, the full resource is located here and may be of some help. http://support.hp.com/us-en/document/c04773236/ PS: I also checked to see if there were new drivers for my notebooks and see that it has now been two days since they were last updated. Perhaps there is hope!

  • 10.4, How to stop plug-ins update reminder, Windows fix does not work on Mac.

    Need to get rid of bar across top saying plug-ins are not up-to-date. The "fix" posted for Windows does not work on my Mac. When I try for updates, none seem to install. How do I really find out if the ones I have are the latest available for my system? Everything seems to work OK as is. Could it be that my Mac is PPC and that there are plug-in updates that would work in 10.4 on Intel but not on PPC, and that FireFox cannot differentiate?

    Setting the Boolean pref <b>plugins.hide_infobar_for_outdated_plugin</b> to <i>true</i> on the <b>about:config</b> page should hide that info bar.
    *http://kb.mozillazine.org/about:config
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access the about:config page.<br />
    *Use the Filter bar at the top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default via the right-click context menu if they are user set
    *Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean) or by double-clicking the line with the pref
    *Preferences can be created via the right-click context menu: New -> String, Integer, Boolean
    Firefox 4 and later require at least OS X 10.5 and a Mac with an Intel processor.
    *http://www.mozilla.org/firefox/12.0/system-requirements/
    For an unofficial Firefox ESR 10.0.4 compatible version (TenFourFox) that runs on PowerPC Macs with OS X 10.4.11 or OS X 10.5.8 you can look at:
    *http://www.floodgap.com/software/tenfourfox/
    *http://www.macupdate.com/app/mac/37761/tenfourfox
    Plugins are no longer supported.
    *http://code.google.com/p/tenfourfox/wiki/ReleaseNotes1004
    *http://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    *http://code.google.com/p/tenfourfox/wiki/AAATheFAQ

  • Java applet works in windows and does not work in linux

    Hello, guys!
    I'm working with site which is located in vpn network at work.
    I use browsers firefox 3 and opera.
    When I want to open java applet using firefox or opera at first everything is fine then on the last stage of loading(judging by progress bar) applet hangs(progress bar hangs) and when I reload page firefox shows in the bottom bar: applet <applet's name> bail.
    In windows everything works both in ie6 and firefox 3.
    On both environments I have the jre 6 installed.
    please help!

    Ok, I installed ies4linux and jre 1.5.16. I can work with that but when I start applet screen goes black and window frames dissapear.
    To solve this problem(feature?) I disabled DirectX-based acceleration for Java 2D but that works for javacpl.exe and does not work for my applet.

  • 32-bit plugin shortcut created on windows 64 does not work in PS CS6 (32bit)

    Here is a really odd one.
    I have 32-bit and 64-bit PS installed on Windows 8. If I have a 32-bit plugin in FOLDER32, and I manually create a shortcut in the 32-bit PS Plugins folder that points to FOLDER32, 32-bit PS will not load the plugin in FOLDER32.
    If I do the same thing for a 64-bit plugin in 64-bit PS, it works fine.
    However, if I create the shortcut to FOLDER32 from a 32-bit program (such as a custom 32-bit installer tool), then 32-bit PS *can* follow the shortcut and does see the plugin in FOLDER32.
    Weird, huh?
    Message was edited by: Shmoopie99 (made title more specific)

    The WoW64 subsystem redirects shortcuts that point to the 64-bit Program Files to the 32-bit Program Files (x86) causing the plugin to not be found.
    The simplest fix would be to copy the 32-bit plugin into the Plug-Ins folder of the 32-bit version of Photoshop.
    Unfortunately Wow64DisableWow64FsRedirection does not work for %PROGRAMFILES%, so a 32-bit application would have to attempt to fix the path manually.

Maybe you are looking for

  • Moving TM disk from wired to wireless

    Can you do an initial backup onto an external disk via firewire (from a MacBook) and then plug the disk into airport extreme to subsequent wireless backups? thanks!

  • About Logic

    Hi Gurus, we have a small requirement  in SRM 7, we have added some custom fileds in source of supply for vendors to enter address for vendor and we are  taking  number range from 001 to 999 as one time vendor whose deatials are not maintained in ven

  • Data from xml to oracle tables

    Hi All, I need to store data from the XML documents into appropriate tables in ORACLE. Note: I dont need to store the document itself, but the data in the document needs to be stored in the tables. What is the right way of doing this? I previoulsy us

  • Parse Error - malformed SQL

    I am trying to debug a problem where a 'select * from' is being added to the sql statement a Visual Basic 6.0 application is sending to an Oracle 8.1.7 database. Any ideas what may be causing the problem? The application SQL is: SELECT max(work_order

  • My iMovie project has no sound, can I fix this?

    My son created an iMovie project today and the sound was working like it should. When I got home, he tried to play the movie but there was no sound. I still heard sounds when I increased the computer volume up and down. I went to the "Media" section