Opening/focusing new/existing window with refreshed data

hi ,
I want to open the results in a new browser window with current requested data as soon as I click on a button from a jsp.I mean as soon as I click on a button if the new window is already opened then the opened window should be get focused with refreshed current data, if the new browser window is not already opened then clicking on button from jsp should open a new window with refreshed data.
Following both ways are not working proper, could you tell me whts wrong with it..?
javascript functions:
function winOpen(statusVal)
var resultsUrl = "http://.........";
var fullURL= resultsUrl+"Status="+statusVal;
var lastOpened = null
     if ( lastOpened != null ) {
          lastOpened.close();
          lastOpened = null;
lastOpened =window.open(fullURL, null)
lastOpened.focus();
with this code new window is opening but if I minimize that new window and if I click on a button jsp with new querry values, the same opened window is getting focused but not with new results in that window. I.e results in window are not getting refreshed ....
2.
with the following code every time it opens the new new windows( irrespective of already opened window) with new requested data.
function winOpen(statusVal)
var resultsUrl = "http://.........";
Openedwindow=window.open(resultsUrl+"Status="+statusVal;
Openedwindow.focus();

Can u let me know how you solved this.
Thanks in advance

Similar Messages

  • Drop Down Menu - 3rd Level iView open in new external Window with parameter

    Hello Community,
    we have the following problem: We have created some drop down menu for the portal navigation. Some iViews we are going to open in new Window. Therefore the iViews are getting some parameters like: menubar=no, toolbar=no, resizable=yes, status yes....and so one....And also the iView has fixed height and width.
    Now when we are going to open the iview in the second level position, everything is working fine and the window functions are also used.
    When we change the position of the iview from an second level position to an third level position, and we want to open the iview from the drop down menu, the window functions and the size is not used.
    Can some one help? I have attached the JSP Code:

    [JSP File|http://www.megaupload.com/?d=R7YLTTKX]

  • How to make applescript open a new safari window with a specific name?

    tell application "Safari"
      activate
      make new document at end of every document with properties {name:"MY-NAME", URL:"http://www.google.com"}
    end tell
    Run this script and see if you can figure out why the NAME of the window is still "Google".
    The dictionary  shows several different NAMEs for windows, documents and tabs and only tabs are R/O.
    This doesn't do anything either:
    tell application "Safari"
      activate
      make new document at end of every document with properties {name:"MY-NAME", URL:"http://www.google.com"}
      set the name of window 1 to "TEST"
    end tell

    The title of the window is provided by the page source.
    You can override it (once loaded) with, e.g,
         do javascript "document.title='MY-NAME'" in document 1
    If you had a blank Safari page (i.e. not Top Sites which does contain source data), you should be able to change the window title with
         set name of document 1 to "MY-NAME"

  • Link in emails to open the link in new tab, not a new firefox window with home page,

    Link in emails open a new Firefox window with my default home page. How do I get Firefox to open the linked web page, in an new tab, as it used to do??
    This is for Win XP, FF 17.0.1, using Outlook as mail client.

    Do you mean the results from a search via the Google search bar on the Navigation toolbar or the Firefox Google home page (www.google.com/firefox) ?
    For the Google website you can set your preferences on the Google.com page via the [http://www.google.com/preferences?hl=en Google Search settings] link at the top right.
    Results Window: Open search results in a new browser window.
    You need to allow cookies for Google (Tools > Page Info > Permissions) to save that setting, otherwise you have to repeat it.
    For the Google search bar on the Navigation toolbar you can set the pref browser.search.openintab to true on the about:config 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 />

  • On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom new document in order to open one. How can i have directly a new document when i click on pages icon

    On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom < new document> in order to open one. How can i have directly a new document when i click on pages icon

    How to open an existing Pages document?
    Click Pages icon in the Dock to launch Pages.
    When Pages is open, click File menu in the  Pages menu bar.
    Select “Open”.
    When the select document  dialog box opens up, highlight/select the document and click “Open”
    at the bottom right corner of the dialog box.
    s
    https://support.apple.com/kb/PH15304?locale=en_US

  • 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

  • Illustrator & Indesign CC (Windows) crashes when trying to open an new/existing document

    I installed Illusrator & Indesign CC when they were released as I had a pre-existing Adobe CC account which I had previously downloaded Photoshop and Indesign CS6 with. When I try to use Indesign & Illustrator CC they both crash when you go to open a new / existing document. I also downloaded Photoshop CC and this works fine. I have phoned Adobe 6 times to try to resolve the issue, each time I wait on hold for an hour and they get told they will call back within 2-5 hours but this never happens.
    Has anyone else had this issue since installing CC and found a way to resolve it? 

    Are Tahoma and Verdana fonts installed on your system?

  • Calling a new browser window with WD Abap and passing data via POST

    Hi there,
    does anybody know whether passing data via POST method is possible when opening a new browser window from within a Web Dynpro Component? In my case I use method IF_WD_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW for opening a new browser window. Now I want to pass a big amount of data which is only possible via POST method. How can I achieve that or is it not considered inside the Web Dynpro Framework?
    Kind regards,
    Albert

    Hi Priya,
    can you please explain a little bit more what you mean? I didn't get it..
    Kind regards,
    Albert

  • How do i open a new duplicate window? Two windows with the same content.

    Hello, I am switching from IE8 to Firefox. We need to be able to open a new window with the same page displayed instead of going to my homepage. In IE it's called "Open A New Duplicate Window". This feature is very important to us using two screens for web development. Thanks

    in the address box, click and drag the address to the plus sign on the new tab above, it will open a duplicate tab

  • Tip Message with hyperlink to open in new tab/window

    Hi Guys,
    I have created a FND Message which has the following content:
    some text <a href="https://www.google.co.uk"target="_blank">Click Here</a> some more text
    This is referenced in a custom OAF page as a Tip Message (OATipBean), the text and hyperlink render with no issues, however the hyperlink does not open in a new tab/window (it opens in the current tab) - when you view the source of the page the '...target="blank"...' is not there:
    ... <a href="https://www.google.co.uk">Click Here</a> ...
    Is there a way of getting hyperlinks in Messages to open in new tabs/windows?
    Regards
    Carl
    Message was edited by: CarlHammond

    I think part of your problem might lie in the way you are trying to use your quotation marks.  It appears you are trying to have the single quotes do what double quotes should be doing.
    document.write("<a href='"+imagelinks[ry]+"' target='_blank'><img src='"+myimages[ry]+"' border='none'></a>
    If you want to have doublequotes appear in code as doublequote characters you can try slashing them to have them read literally... \"
    document.write("<a href=\""+imagelinks[ry]+"\" target=\"_blank\"><img src=\""+myimages[ry]+"\" border=\"none\"></a>

  • Fox opens an error (Problem opening page) page when ever I open a new fox window and parks it in upper left corner of my desktop, what is up with this ??

    Fox opens an error (Problem opening page) page when ever I open a new fox window and parks it in upper left corner of my desktop, what is up with this ??
    It slows down my surfing, a lot and I do not notice the error page, until I notice the slow speed, because it is as small as a page can be, showing only the " -, +, & full size boxes with a border"

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Can I open new terminal window with the same path?

    Hello.
    I use Terminal for bash-shell.
    When I work at a certain directory, can i open new terminal(command + N) with the same directory?
    For example, when i am in /Developer and press command+N, I want a new terminal window with /Developer path.
    Thanks for reading and I'm sorry for my short english.

    Command-N will open a new Terminal window in your Home (~) Directory by default.
    Use the "Open Terminal Here" script for more control
    http://www.entropy.ch/software/applescript/

  • Open New Browser window with "Server Behavior"

    I know how to open a link in a new browser window by going to
    the Behaviors panel. The site I'm working on is using PHP, so
    instead of a Behaviors panel all it shows is a "Server Behaviors"
    panel. Under the "Server Behaviors" there is't an option to open a
    link in a new browser window. Should I be looking someplace
    different or is there another way to add this function to a link?
    Thanks in advance for any help!

    horsethiefbasin wrote:
    > I know how to open a link in a new browser window by
    going to the Behaviors
    > panel. The site I'm working on is using PHP, so instead
    of a Behaviors panel
    > all it shows is a "Server Behaviors" panel. Under the
    "Server Behaviors" there
    > is't an option to open a link in a new browser window.
    Should I be looking
    > someplace different or is there another way to add this
    function to a link?
    >
    > Thanks in advance for any help!
    >
    Makes no difference whether youre working on a php site or an
    ordinary
    htm site you still open a new browser window in exactly the
    same way.
    windows>behaviours>open browser window

  • Send to Compressor stopped opening a new batch window

    Hello. I am a professional video editor with 22 years of experience, and have been a registered Final Cut Pro user since version 1.
    I just finished exporting 14 segments of a documentary using SHARE: SEND TO COMPRESSOR from Final Cut Pro X. Everything worked as expected until I made some changes to a project, then used SHARE: SEND TO COMPRESSOR again. For reasons unknown to me Compressor 4 has stopped opening a new batch window when I send a job to it. It THINKS there is a batch open, because it asks me if I wish to save or discard my changes before closing.
    Any ideas?
    OS X Lion, Final Cut Pro X, Compressor 4 are all the most recent upgrades running on iMac Quad Core i5 with 8GB RAM.
    Regards,
    H.
    Astounding Pictures

    Helo, and thanks Russ. I neglected to mention I was moving forward without Compressor by using SHARE: EXPORT MEDIA. I thought I'd put it out there to see if anybody else had encountered this bevavior. Teething problems are to be expected, though. The beta releases of OS X come to mind. However, I wouldn't trade these new editions for anything except future updates and releases. As a fellow who has had the fortune to work with film, analog video, and linear editing systems, I welcome the radical shift in focus from the older, tedious workflows to something more suited for a data-based age. Mind you, it took about six months to get enough courage to take the plunge, but I'm glad I did.
    Sincerely,
    H.
    Astounding Pictures

  • How to open a new browser window without toolbar, location, and menu bars from AIR?

    I have the following problem in my Flex+AIR application. I need to embed an ActiveX component that has JavaScript API inside my application. I tried to embed it inside <mx:HTML> component but unfortunately, AIR doesnot support plug-ins or ActiveX controls. So I've decided to open it in a new browser window. I tried navigateToURL(...) method but it has two problems - it is opening a new tab in the existing browser window and there is no way for me to configure the new browser window appearance, like removing toolbar, menu bar, location bar, etc. Then I tried to open a new window from JavaScript running inside <mx:HTML> component using window.open(...) API but it doesn't open a new window at all.
    Is there any way for me to open a new browser window without toolbar, location bar, etc. (which will run ActiveX control, so it cannot be AIR window) from inside AIR?
    Best regards,
    Arkady.

    Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

Maybe you are looking for

  • Automating PDF Generation with Server-Side Acrobat - Benefit, Risks, Suggestions?

    Looking for some clarity... How feasible is it to automate PDF creation from Excel using Acrobat, as opposed to some third-party tool?  The SDK seems out of date.  Any issues programming with .NET? Are there better products out there, from third-part

  • [SOLVED] Script for auto-connection

    Hey, I want to write a script that does the following: When I switch my laptop on, checks (using the "iwlist wlan0 scan" command) which wireless networks are in range. Then, if my home's essid is found, launch the file that connects to that network.

  • Is it possible to put side info table into C program?

    Hi all, I'm totally new to SAP and ABAP Programming and I have situation that my C-program should contain communication-specific parameters. So my question is: Is it possible (if yes, how?) to eliminate side info tables file? Same, with other words:

  • Mail not allowing to delete aliases

    Mail is not allowing to delete aliases, my aliases are not listed in Mail/preferences/accounts.  I verified and they are all active. If I try to add an alias, I tells me thatI have to wait a week for the last deletion to clear and I have not deleted

  • During startup I get a window saying: No disk

    In the window this message can be seen: There is no disk in the unit. Put in a disk in unit \Device\Harddisk1\DR1 Thankful for help. Best Regards, Hans-Åke Karlsson