Start in New Browser window

Does anyone know how to get a creator project to always start in a new browser window?
Conversly, I would also like to add a button to close the browser window and end the session.

I guess I should clarify my question.
I have a five page web application that aceeses a database. I log the user in as part of the init of the session bean. I would like to log the user out, close the database connection and return the user to wherever the started from in their browser.
I figure the easiest way to do that is to always open a new browser window when the session bean starts up. This would allow me to close the session and the browser window, forcing a new session to be started the next time the user selects the application form the main web pages.
What you appear to be saying is that the control of starting the deployed project in a new window would be done from the logic of the main page using javascript, php,html or whatever the main web pages are written in.
You suggest that my close be controlled through a javascript call. I was hoping to do it within my creator code which is written in java and jsp. Is there a java call to close the browser window?

Similar Messages

  • Displaying PDF in new Browser window

    Hi all,
    I have a question about displaying a invoices in pdf format in a new window. I read several threads about this, but I haven't been able to solve my problem.
    I'm using following code:
    append the pdf to the response
      cl_wd_runtime_services=>attach_file_to_response(
        i_filename  = 'test.pdf'
        i_content   = lx_pdf
        i_mime_type = 'application/pdf'
        i_in_new_window = ' X'
        i_inplace       = 'X' ).
    The content (lx_pdf) is retrieved from a smartform, via the function module for the smartform in question, after which I convert the OTF Data (JOB_OUTPUT_INFO-OTFDATA) to XSTRING using FM SCMS_TEXT_TO_XSTRING. The returned data (buffer of type xstring) I use for afore mentioned method. But all I get to see is the following:
    //XHPLJIIID    0700 00000000001
    IN04EZZ_MO_SMARTFORM_TEST
    IN05TEST_PAGE_1
    OPDINA4   P 144  240 1683811906000010000100001
    IN06MAIN
    IN06TEXT_TEST1
    MT0168902156
    CP11000000E
    FCCOURIER 120  00144 SF001SF001110000144E
    UL +0000000000000
    CT00000000
    ST0590441This is a text page for displaying PDF in a
    MT0168902396
    ST0547238new window
    MT0168902636
    ST0460832called from within a WD application
    MT0168902876
    ST0144010Application
    EP
    The text is correct, but it is not displayed as PDF in new window, and of course I'm not interested in all the formatting codes in front of every line??
    I should be possible to display a pdf in a new browser window without having installed everything needed for Adobe Interactive forms, or isn't it??
    Kind regards,
    Micky.

    Hi Micky.
    If you have the spool number of the printed billing document you can use
    component WDK_SPOOL_TO_PDF in order to display spool as PDF.
    Just transfer spool number and format to default inbound start up plug.
    Cheers,
    Sascha

  • Open sso enabled app in new browser window

    I have a java app deployed to OAS and secured with Single Sign on. I would like my app to open a report and display it in a new browser window. When the new window opens I am getting an error stating that user is not authorized to access the report. This is due to the session information (successful login) being stored with the cookie in the original browser window (where the session started and where the user originally logged in). Is there a way to pass that cookie information to the 2nd browser window...or some way to re-authenticate without having the user log on again...possibly some mod_osso set-up...or some additional code? TIA.

    Hi Durairaj,
    The thing is that I did not get the desired answer to my query and the thread was posted in a wrong forum thus I have the query again inthe correct forum.
    Regards,
    Sweta.

  • Opening Hyperlinks in New Browser Window?

    Hi All,
    Does anyone know how to have keynote open a hyperlink in a new browser window? I have exported my keynote presentation to a quicktime moive and posted it on the web.
    However, when someone clicks on one of the hyperlinks it opens the new website in the same browser window. When they click the Back button to go back to my Keynote quicktime movie it starts the presentation/movie over.
    Any help you may have to offer would be GREATLY appreciated! Thank you!

    Hi All,
    Does anyone know how to have keynote open a hyperlink in a new browser window? I have exported my keynote presentation to a quicktime moive and posted it on the web.
    However, when someone clicks on one of the hyperlinks it opens the new website in the same browser window. When they click the Back button to go back to my Keynote quicktime movie it starts the presentation/movie over.
    Any help you may have to offer would be GREATLY appreciated! Thank you!

  • New browser window from CRM Web UI causes problems

    Hi Experts,
    We have several links to internal web sites that CRM users can access from the web UI.  Problem is, whenever one of these links are selected, the user looses whatever it was they were doing in CRM and the main window displays the following message:
    The object you have selected is starting in a new browser window. You can continue working normally in the current application. However, you may have to navigate back to the page you were working on.
    Anyway to prevent this from happening?   Would very much appreciate any advice.
    Thanks,
    Stephen Brewer

    Hello Brewer,
    If your requirement is to open some URL say google.com etc in a now window, then there are only 2 ways
    1) Use Transaction Launcher
    2) Use PopUp Window.
    1) If you use transaction launcher, and created the link in your direct link group then on click of the link, the URL will open in new window but you cant avaoid the message that you get in the current window. Also, if users POPUP Blocker is ON, user will never come to know why the new window has not launch.
    2) This is very simple and straight forward approch for opening URL. However, POPUP windows in WEB UI are modal windows, so say on click on a button on Account Overview Screen, i open google.com in a popup then unless i close this popup , i can not work on the account overview screen . However, you can see the account overview screen as it is and you can resume back when the popup is closed. Also you can define the even handler on close event of pop up so you can pass the data to & fro between the webclient view and the pop up.
    to open some extrenal URL in a PopUp , You will need to create a blank view and attach it to a window. In .htm file of the view, you can use tag IFRAME and call your external URL here.
    Hope its helpful.
    Thanks & Rregards
    Prasad
    PS : the popup blocked problem will still be there however, it flashes a message like pop up blocker is ON in case of using popup window

  • JavaScript for opening a new browser window.

    Hi all,
    Let me start by saying that I'm not JavaScript savvy at all.
    I have two buttons on a slide and I want each to open a new browser window.
    I Googled for a script and found this:
    window.open ('URL')
    I tried in my project and it worked fine but the browser window that my project was running in also changed.
    I've attached a .gif image of what happens to my project window when either of the two buttons is clicked.
    Can anyone help??

    You can check the home page setting:
    *Tools > Options > General > Startup: Home page
    *https://support.mozilla.org/kb/How+to+set+the+home+page
    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

  • New browser window from single movie frame?

    Sorry but I am a total newbie>
    I have a 4 frame movie imported into one layer and want to
    specify a different URL to be opened in a separate window for each
    frame. So I have made each frame a keyframe and added from the
    behaviors a geturl event for each frame. When this is published it
    loops the movie and opens a new browser window for every frame for
    every loop, resulting in dozens of browser windows. How can I make
    this a mouse clickable event so only when I click on a frame will
    the new browser window launch?
    I am trying to use onrelease, but I am not sure how this
    should work as I can't find a good example.

    1) you can't 'click on a frame' in the SWF file when it's
    running, you must click on a 'button' or 'movieclip' instance the
    you construct ON a particular frame, or all in the same frame with
    different buttons on theStage.
    2) you need to add a 'stop()' action to your actions layer to
    stop the SWF from 'playing' which is why it continues to open more
    windows, MovieClip timelines play and loop by default.
    3) more information that you will ever need is located in the
    Flash Help files(F1) along with many tutorials to learn the basic
    concepts, open them and go to 'Getting Started in Flash' to learn
    some basics.

  • How do I open a new browser window from Flash

    I wish to open a new browser window from Flash and when the new window closes to return to the location from whence I started.
    ThomasChen

    The command to open a new window would be the "_blank" part of a command to link to a web page in the code below.
    navigateToURL(new URLRequest("http://www.anothersite.com", "_blank"));
    As far as the new window closing and getting back to where you were in the original window, I don't understand where that original window might have gone to... You should be wherever you last left it.

  • Open view in a new browser window

    Hi all,
    I want to open a view in a new browser window.
    I try this two code:
    1)IWDWindow window=
    wdControllerAPI.getComponent().getWindowManager().createExternalWindow(
              "http://www.google.it","google",false);
    but in this case i can only open an url...
    2)IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("ExternalWindow");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo,true);
    but in this case it open an internal windows, not an external new browser windows...
    What can i do?
    Thanks!

    Hello Andrea,
    you should call not "http://www.google.it" but result of something like this:
         public static String resolveURL(String dcName, String applicationName) throws EntryNotFoundException, WDURLException
              IWDDeployableObject deployableObject = WDDeployableObject.getDeployableObject(dcName);
              if(null!=deployableObject && WDDeployableObjectState.STARTED.equals(deployableObject.getState()))
                   boolean found = false;
                   int i = 0;
                   WDDeployableObjectPart[] parts = deployableObject.getParts(WDDeployableObjectPartType.APPLICATION);
                   if(parts!=null)
                        for(;i<parts.length;i++)
                             if( applicationName.equals(parts<i>.getShortName()))
                                  found = true;
                                  break;
                   if(found)
                        return WDURLGenerator.getApplicationURL(parts<i>, null);
                   else
                        throw new EntryNotFoundException( "Application '" + applicationName + "' not found" );
              } else {
                   throw new EntryNotFoundException( "Application '" + applicationName + "' not found in '" + dcName + "'" );
    Best regards, maksim Rahchnski

  • Firefox 3.6.8 Opening unrequested new browser windows

    I have a new Gateway laptop with Intel Core i5 2.26 Ghz and4 gb ram. I downloaded Firefox immediately, my browser of choice. However, what I've discovered is that almost immediately Firefox would open an unrequested new browser window when I click a link. E.G. I was on Yahoo today and clicked a link to daniweb after doing a search. (I was testing the theory.) Almost immediately there was a very quick flash of my browser window, almost as if something was opened and immediately minimized. After that daniweb loaded. If I go to the start bar and hover over the Firefox (Using Win 7) icon, it shows only 1 open browser window. About 30 seconds later though, the new browser window pops up in front of the Daniweb window. This time, the new window contained the following URL... http://www.yellowpages.com/raleigh-nc/programming?From=MRCH2 As you can see, it basically did a yellowpages search for programming in my area, presumably because I am going to an IT site. And now, if I hover over the Firefox icon on the start bar it shows to open browser windows.
    The window which pops up unrequested is frequently yellowpages although sometimes it's a news site with a search for whatever I had clicked on. Occasionally it has been a "you have won site". I have pop-up blocker turned on and have tested through various test sites that pop-up blocker is in fact working. In some ways, this is more insidious because it's not a pop-up like we think of a pop-up, rather it's an entire browser window.
    I have googled and googled trying to find a solution and thus far no one else has posted anything similar to this problem.

    '''hotwiredmom'''
    '''You have plugins on your system that are/may be out of date and have known security issues.'''
    '''Update Shockwave Flash (Adobe Flash)'''. A new version was released 2010-08-12, ver. 10.1.82.76.
    #You can check your version: http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #Use Firefox to Download and SAVE to your hard drive (link in article below)
    #After download completes, close Firefox
    #Click on the file you just downloaded and install
    #*Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #*Note: Most browsers other than IE will also get updated with this one download
    #*Note: To update IE, same procedure but use IE to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #After installation, restart Firefox and check your version again.
    *Download link and other information:
    https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    '''Update Adobe Reader (Adobe PDF Plug-In)'''
    *Check your version: http://www.mozilla.com/en-US/plugincheck/
    **'''Note: plugin check does ont have information to check all versions of all plugins'''
    *'''Another new version of Adobe Reader is schedule for release during the week beginning 2010-08-16 to correct security issues.'''
    Updating Adobe Reader:
    #From within your existing Adobe Reader:
    #*Open the Adobe Reader program from your Programs list
    #*Click Help > Check for Updates
    #Download complete installer:
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below
    #*On the Adobe page, un-check any extra items (i.e. Free McAfee® Security Scan Plus) then click Download button
    #*If you see message just under tabs, DO NOT click the Allow button, instead click below that where it says "click here to download".
    #*Click "Save to File"; save to your desktop
    #*After download completes, close Firefox
    #*Click the installer you just downloaded and allow the install to continue
    #**Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #*See: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
    #After the installation, start Firefox and check your version again.

  • Dreamweaver - Chrome open a video in a new browser window not working

    Hi guys, i'm pretty novice to dreamweaver and i've putting a site together recently...
    One thing i am trying to do is open a video in a new browser window when the button is clicked upon.
    I have done what i thought i needed to do this, and in safari and other browsers this works fine. In Google Chrome however this doesn't seem to want to work and rather then opening and playing the video it just automatically starts to download it.
    I'm sure it is a simple fix and i apologise for the thread all about it but any help would be appreciated.
    http://hauntingskateboards.co.uk/media.html
    if you click on Joe or Dean button you should see what I mean... anyway thanks in advance!

    Create Pop-Up Window in DW Behaviors Panel
    http://alt-web.blogspot.com/2012/03/create-pop-up-window-in-dreamweaver.html
    Nancy O.

  • BSP opens in new browser window where it shouldn't

    Hi all,
    I am facing a strange behaviour:
    I have 2 BSP IViews on a page. One of them contains a ticker. When navigating to that page the ticker is opened in a new browser window. Interestingly enough this behaviour is not given with all clients. In one browser the page is displayed correcty and the ticker is shown as part of the page. In another one the behaviour described above is shown.
    Has anyone faced this kind of behaviour already? If yes, how did you resolve it?
    Besides, the portal is accessed via https.
    Thank you in advance for any input!
    Best regards,
    Helga

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration 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.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Title in new browser window

    Hello,
    I wonder if someone can reproduce that one.
    I'm using this code to open a new browser window
    <af:commandMenuItem text="blabla" useWindow="true" action="add"
    id="dialogTrigger" windowWidth="800" windowHeight="600" />In that new window, the jspx page includes a template.
    Here is the starting code of that page:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:trh="http://myfaces.apache.org/trinidad/html"
              xmlns:tr="http://myfaces.apache.org/trinidad">
        <jsp:directive.page contentType="text/html;"/>
      <f:view>
        <af:document title="blabla">
          <af:messages/>
          <af:form>
            <af:pageTemplate viewId="/WEB-INF/templates/popup.jspx">
    ...Every tag is closed at the end (double checked).
    The new browser window has for title "http://127.0.0.1:8988/app/index.jspx - Mozilla Firefox" but I think it should have "blabla - Mozilla Firefox".
    Correct me if I'm wrong?
    Also, the resulting HTML does not seem to be valid as an orphan closing tag </head> is found just after the opening <html> tag...

    Which tag library is referenced by your "afh" ?
    I can't see it in jdeveloper 11 ...
    According to the reference documentation for tag <af:document />:
    The UnifiedDocument creates each of the standard root elements of an HTML page: <html>, <body>, and <head>, but by abstracting away from those components, can be used in non-HTML pages as well. ...
    title
    String
    Yes
    the title of the document. (This title doesn't have to match the title on any contained panelPage. More on that:
    The generated HTML has a frameset included that points to the real page. Inside "onload" event, that frameset has a call to fixDialogTitle(). The embedded html page has the <title> defined by the <af:document title="fds">, so this works fine... so I guess the fixDialogTitle() function has to transfer the title from that embedded page to the parent one ?
    Message was edited by:
    Jean-Philippe Melanson

  • How can I save my customised toolbar so it is there every time I open a new browser window

    I have created a customised toolbar with all the icons I want but have to do it again every time I open a new browser window.

    i found i had almost exactly the same problem as you. one evening my itunes just wouldn't start up, it told me that 'itunes is unable to open because some of it's required files are missing, please re-install itunes'. now, i personally know a lot on the subject of computers and how they opperate, i had the built the computer that i encoutered the problem on myself. as soon as i came across the problem, i immediatly thought that i would be able to simply uninstall itunes and quicktime, and then re-install.
    after doing this, nothing changed, i went straight to 'add or remove programs' in windows, and tried to remove itunes from there. it wouldn't uninstall. i racked my brains over the problem, until i found this article, which provided a great deal of help. for anyone who later has this problem, go and download this freeware from microsoft: http://support.microsoft.com/default.aspx?scid=kb;en-us;290301 this program will immediatly remove any unwanted programs with ease, whether they are running or not. after using this program to uninstall itunes, re-install, and your problem should be solved.
    thanks. Alex Dove
    Custom built pc   Windows XP  
    Custom built pc   Windows XP  

  • Open discoverer report in new browser window and without connections page

    Hi All,
    We are using Oracle 11g Discoverer 11.1.1.4.  Requirement is to open the discoverer report in a new browser window and without connections page.
    When we are running discoverer reports with this parameters we unwantedly get the connections page of the discoverer plus which we don't want.
    Went through the documentation given in this page and followed it still the issue persists, and i see couple of threads with my issue and no updates.
    This excerpt is from the documentation available in the link
    " _plus_popup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it "
    http://www.art2dec.com/documentation/docs/oas10g1012/linux/bi.1012/b13918/urlstart.htm
    and Here is what we use to invoke our reports.
    http://ipaddress:port/discoverer/plus?cn=cf_123&_plus_popup=TRUE&framedisplaystyle=EMBEDDED&wb=disc_wb_1
    Request the forum users from PRO discoverer group to help me out of this issue and expect a good discussion on this.
    Thanks in advance

    Closing the thread
    We were able to achieve by changing the browser settings in the IE 8 Browser. Disabled Tabbed browsing.

Maybe you are looking for

  • Error in STMS System

    Hi , When i am entering the stms_import , am getting below error often. System  QBW               Command  TMS_MGR_READ_TRANSPORT_QUEUE Client      000                 Service  Transport Service User       TMSADM        Start    Online Date       09/

  • Opening .PDF's in IE7 with Adobe Reader 9.0 & Adobe Writer 5.0

    Hi I am running a XP Pro environment on a HP D530 machine. I have installed on this PC Adobe Reader 9 and Adobe Writer 5.0. I have defaulted through the folder options all .PDF and adobe related files to open in 9.0 and done the normal 'open with' op

  • Do you want to run the script? Yes.

    I'd like to be able to run a script without having to confirim that I want to run the script. "You are about to run a script in Adobe InDesign CS5. You should only run scripts from a trusted source. Do you want to run the script?" Is there a way to e

  • Personal Hotspot Security - Flaws?

    As a business user, I initially liked the idea of the Personal Hotspot as a convenient way to link my iPhone and MacBook Pro. However as a networking specialist, I am immediately aware of its shortcomings and risks, risks that are already well known

  • HT4108 iPad 2 and HDMI converter issues

    Does anyone have an ipad 2 and find that most mirroring works fine EXEPT video (sound, but no picture) and Keynote (I can see the slides up until I try to play my show, then TV goes black)? I have a presentation in a week; please help!