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

Similar Messages

  • Opening a servlet in new browser window

    Does anyone know how you can make a servlet open in a a new browser window when clicking a link for that servlet.
    cheers

    Hi..
    do
    window.open("http://localhost:8080//yourservlet-path//servlet-name");
    you can also set window properties, they are passed as parameters to window.open
    see syntax of window.open. but this thing will open your servlet in a new window with default properties.

  • IWeb link opening in a external (new) browser window.

    Dear members:
    After making several unsuccessful attempts to find this information I decided to post a questions here to see if anyone has the answer.
    I have created two web site with several web pages in iWeb but haven't been able to add links to a page that open not in that same page but to open in an extra (external) browser window. Is there a way to make a link open in a different browser window than the one that has the page with the link ?
    Another question I have refers to iWeb's display of some images. For my web sites I chose one of the templates offered with the program. In one of the pages there are small portions of text followed by a square image next to it. Some of the images in iWeb work as placeholders that are replaced by the final images once they are dragged and dropped over them. However, this small images following the text don't behave like that. They simply aren't replaced. I tried to "overlay" the final images over the template ones thinking that once the site was published they would be replaced. Actually, after posting the web site I noticed that when the pages load the template images show up first and them the ones I placed over them beginning to cover them.
    Why is this happening and how can I solve this problem ?
    Thank you in advance for your help.
    Best regards,
    Joseph Chamberlain

    Dear varkgirl:
    Thank you very much for your help and valuable suggestion.
    I've tried your suggestion but ran into some problems. The links I am trying to open in another window are actually PDF files that the viewer can download from my website.
    Since I was having problems I decided to try something else. After publishing the website to my desktop I then opened the pages where the links are in Dreamweaver. The layout view is great and displayed the image just the way it appears on the browser's window. I first selected the "link button" to the file and then in the inspector windows (bottom of the page) I chose under target the "_blank" option. This tells the software that the linked page or file is to be opened in a new blank browser window. I then saved the page (re-saved it over the existing file) to incorporate the changes. After this I proceeded to navigate through the website and everything works great.
    Thank you for your help and suggestions. I just thought I would post this here in case it may be of help to you as well as others.
    Best regards,
    Joseph Chamberlain

  • Open PDF link in new browser window?

    I'm viewing a newly created PDF in a browser.
    When clicking an internal link, the linked PDF loads into the same window
    I need it to launch in a new browser window.
    I have set the link to "launch new window" in Word where this file originated.
    I have also opened and resaved it in Acrobat 10 with preference "Open cross-document links in same window" deselected.
    Neither of these setting have change the behavior though all documentation I read seems to suggest they should.
    What am I missing here??
    -Blake

    That preference setting does not apply to web links and do not refer to a browser window, but an Acrobat window.
    There is a JavaScript method that might work. Try setting the link action to something like the following script:
    app.launchURL("http://www.example.com/", true);
    This was taken from the example here: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.150.html
    The problem is if a user has Reader 10 and protected mode is enabled (as it is by default), it doesn't work and opens the link in the same browser window.

  • 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.

  • Open URL Link in new browser window

    Can someone please help me? I've tried to use code as if I were using Dreamweaver without any luck(i.e. blank target).
    Is there a way to make the url in the PDF open a new browser windows once clicked? Hopefully this is an easy fix! Thanks in advance!

    Jono, if you are still out there.  I am also having trouble with this function.  The button works just fine, but it does not open another browser window.  I am trying to keep my pdf open, and send them to a url.  That way they can come back to the form. Like you would with the target="_blank" function in javascript.
    What am i doing wrong?  I have tried opening the script editor, but I am not sure what to do there. So I put the same as you did on your form, no effect.  I put target="_blank" and set it to javascript on just about every option.  I have tried to go into the code on the xml source tab, no luck anywhere.  I have tried to just use a text field, no luck.
    Seems like everything I have tried has no effect.
    Hopefully you can tell me it is something simple...
    Thanks in advance.
    Jodi

  • Opening driving directions in new browser window

    I have installed the Web Assist Google Pro Maps extension and
    would like for the div containing the driving directions results:
    <div id="wagmp_directions_2"
    to appear in a new browser window.
    However, when I open the tag inspector, it says "locked
    region" for the Google maps divs, even though I detached the php
    page from the template. Any ideas?
    http://www.lindafarronknapp.com/map.php

    Sorry, mixed up my versions a bit. The following code doesn't open a new window.
    try {
                JSObject window;
                window = JSObject.getWindow(this);
                URL url = new URL(this.getCodeBase(), "mydomain/mypage.jsp");
                window.eval("window.open(" + url +")");
            catch (Exception e) {
                e.printStackTrace();
    }It doesn't do anything, instead I'm getting the following output in the trace:
    liveconnect: the url of the applet is http://localhost:29080 and the permission is = false
    liveconnect: JavaScript: UniversalBrowserRead enabled
    liveconnect: JavaScript: UniversalJavaPermission enabled
    liveconnect: JSObject::eval(window.open(http://localhost:29080/mydomain/mypage.jsp))
    liveconnect: the url of the applet is http://localhost:29080 and the permission is = falseI'm testing this code on Linux, FIrefox 1.5.0.3 and JDK1.5.0_07.
    What I'm doing wrong?
    Thanks.
    Stephan

  • Opening sales order in new browser window

    hi experts,
    i have ALV table in which one of the columns is sales order number. I made the column as hyperlink so that user can click on it. when the user clicks on this i am calling an event handler method which is linked on_click event of the ALV interface controller . i am able to capture the sales order number in the method. Now i want to call va03 transaction for this sales order in a new browser window. we are going to integrate this application in portal. any ideas?. i heard something about the object based navigation. how to do this?
    thanks
    Edited by: sudhakar murthy on May 12, 2010 6:04 PM

    Hi Sudhakar,
    Check out the below code to open a Transaction from WD in an external window and pass the value in that Transaction. I am passing the value here in the VF03 transaction's Billing document screen field .
      DATA: url TYPE string,
            host TYPE string,
            port TYPE string.
    *Call below method to get host and port
      cl_http_server=>if_http_server~get_location(
         IMPORTING host = host
                port = port ).
      CONCATENATE host ':' port
      '/sap/bc/gui/sap/its/webgui/?~transaction='
      '*VF03 VBRK-VBELN=123456' " 123456 is the value you are passing into the Billing document screen field of the    
       INTO url.                                      "VF03   transaction
    *get the window manager as we are opening t code in external window
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_window TYPE REF TO if_wd_window.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    call the url which we created above
      lo_window_manager->create_external_window(
      EXPORTING
      url = url
      RECEIVING
      window = lo_window ).
      lo_window->open( ).
    Hope it helps you...

  • Do NOT want to open link in a new browser window - iWeb '09

    I do not want links that navigate around my website to open a new browser window every time. Right now, for example, From my main page, I click a link to a secondary page, it opens it in a new window, I then click the link back to my main page, and it opens in a new window. I now have 3 windows open.
    I am not using the navigation bar as it set ups with iWeb (I have it hidden). I am using hyperlinks I attached to text boxes. Would this problem be remedied if I was using the navigation bar? If so, is there anyway to edit the appearance of the navigation bar and it's location on the page?
    Primarily though, I would like my text hyperlinks to just navigate my page and not open in new windows.
    Thanks!

    And that's the way it should be.
    If you look at this page about navigation you'll see that the main navigation uses eternal links and the sub navigation internal ones....
    http://www.iwebformusicians.com/WebMusic/Navigation.html
    Try the troubleshooting steps under "Fix iWeb" here.....
    http://www.iwebformusicians.com/WebMusic/iWebTips.html

  • Opening remote page in new browser window

    Hi there,
    my applet used the browser window as its frame, that means there is nothing else but the applet. I need to call a page from the same server as the applet resides, but to display the page in a new browser window. The following code could do the job, but caused the browser to block the popup.
    applet.getAppletContext().showDocument(new URL
                            ("http://mydomain/mypage.jsp"),"_blank");I'm wondering whether I could access a servlet from my applet and let the servlet accomplish this and how to.
    It would be also of interest whether it is possible to do the same with a page from a remote server and triggering the client to display the page in a new window.
    Any help is highly appreciated.
    Thanks in advance.
    Stephan

    Sorry, mixed up my versions a bit. The following code doesn't open a new window.
    try {
                JSObject window;
                window = JSObject.getWindow(this);
                URL url = new URL(this.getCodeBase(), "mydomain/mypage.jsp");
                window.eval("window.open(" + url +")");
            catch (Exception e) {
                e.printStackTrace();
    }It doesn't do anything, instead I'm getting the following output in the trace:
    liveconnect: the url of the applet is http://localhost:29080 and the permission is = false
    liveconnect: JavaScript: UniversalBrowserRead enabled
    liveconnect: JavaScript: UniversalJavaPermission enabled
    liveconnect: JSObject::eval(window.open(http://localhost:29080/mydomain/mypage.jsp))
    liveconnect: the url of the applet is http://localhost:29080 and the permission is = falseI'm testing this code on Linux, FIrefox 1.5.0.3 and JDK1.5.0_07.
    What I'm doing wrong?
    Thanks.
    Stephan

  • Open calling form in new browser window

    HI,
    I am using forms 9i. From menu item, i am calling a form using call_form, the called form is opening in same window, my requirement is the called forms want to open in new browser window. I am using mdi window.
    Any idea ?
    Regards
    Ramesh babu

    If you look in your browser address field, you will see your current forms has a (probably very) long url, one section of which is the form name. Now, you can use this as the URL argument in a WEB.SHOW_DOCUMENT() call. However:
    (1) if your URL doesn't include the userid, etc. (very likely in a production situation) you will have to log in again.
    (2) as (1) might lead to suspect, you are in a new database session.
    Why do you want to do this?
    Cheers, APC

  • RoboHelp 8 HTML - Open Hyperlinks in a New Browser Window

    [email protected]
    Hi all,
    I’m new to the RoboHelp community and have an issue I have not yet seen addressed elsewhere in the forums. I’m working in RoboHelp 8 HTML and am generating webhelp. My question is regarding hyperlink options. The option for open in a new window opens topics and links in a new tab. Is there a method, hacking or otherwise, for having the links open in a new browser window?
    Much thanks in advance.

    Hi,
    Welcome to Adobe forum,
    As I understand you are trying to open the hyperlinks in a new window instead of a tab.
    Well it is possible in Robohelp 8 HTML
    Here are the steps which you need to follow.
    1. Select the text Right click on it and then select Insert Hyperlink.
    Once you click on the Insert Hyperlink another Popup window will appear in your screen.
    You need to check this screenshot and select the appropriate option.
    Try and generate the Webhelp and see if that helps you,
    I hope that will resolve your issue.Please reply if that resolves your issue.
    Thanks
    Priyank

  • Open a view in a new browser window

    Hi Experts,
    Can you pls guide me to open a new window ( Browser) on clicking a Button, Currently I could open a window but it looks like popup.
    In my case I want a separate browser to be opened.
    Please advice.
    Regards,
    Bala

    There are actually only 2 options:
    -- external browser window via URL (separate WD application is started)
    -- internal (non-movable non-resizable) modal window inside main application window.
    first at the html page, add the code:
    <script language="javascript">
    function openwindow(){
    window.open("view");
    </script>
    in the page_load event,add the code:
    private void Page_Load(object sender, System.EventArgs e)
    this.ImageButton1.Attributes.Add("onclick","openwindow()");
    Message was edited by:
            Kanwalpreet

  • Opening a JSP in new Browser window

    Hi friends i want to open a JSP into new Window.
    Mean from one jsp i want to call another JSP,
    which should open in another browser window, and it should fills the feild automatically with default values.
    Can any one give my an idea how to implement this.

    Hi..
    do
    window.open("http://localhost:8080//yourservlet-path//servlet-name");
    you can also set window properties, they are passed as parameters to window.open
    see syntax of window.open. but this thing will open your servlet in a new window with default properties.

  • Command to open a PDF generated Oracle Report in New browser window

    I know this is probably something for the Oracle Forums but I'll ask anyway because I can't find any info out there on this, without some extra work.
    I am generating a PDF file from 10g Oracle reports on Linux RHEL 5 and storing the PDF file to the server. I can send that PDF file directly to a printer with the "lpr" command and that part works fine.
    What I'm wanting to do now is "View" the PDF from within the server in a new window. We are using RHEL 5 (Linux) platform and I'm trying to see if there is a way to open the file with a "command line" command that will open it in a new browser window or new window period (opening it with Adobe Acrobat).
    Does anyone have a command that will do this? Otherwise, how has everyone else been handling this. The idea of just viewing the previously generated PDF Report file will save us overhead on our database servers because they won't have to re-run some of the same reports over and over.
    Any help and assistance is appreciated.
    Chris

    Several options:
    - If you only want to show the pdf to the client without printing, use destype=cache and use WEB.SHOW_DOCUMENT after the RUN_REPORT_OBJECT (for examples search the forms-forum, there are lots)
    -If you have to generate the pdf to a file to get it printed, you could
    +use WEBUTIL_FILETRANSFER.AS_TO_CLIENT after the printing to transfer the file to the client, then use CLIENT_HOST to view it.
    +map the appserver-directory you generate the report to as a virtual directory in the application-server then use WEB.SHOW_DOCUMENT to directly access the generated file via url.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • How do I route multiple SB302 switches at different sites and their VLANs?

    Hello Cisco Support Community, First thank you for any replies. The video posted today on 302's and multiple VLAN's on one switch was nice. Thank you, I have that working but it's not really what I need. Though pictures are worth a 1000 words so I ho

  • 2 GB Ram From Walmart

    I'm looking into installing more ram into my macbook and found this ram at walmart for a heck of a lot cheaper! The only questions I have is, is this ram any good and will it actually work in a macbook? http://www.walmart.com/catalog/product.do?produ

  • JSF 1.2 - Roundtrip just to create a simple Go Back link scenario

    From what I've read, it seems JSF 1.2 treats everything as HTTP POST. Hence, doing a simple Go Back means one has to do a round trip to the backend database and back. Here's how I've done it: 1. Create a form and populate it with a list of informatio

  • Creating a file in servlet?

    Hello, I want to read the content of a website and store them in a file on my local disk, but I can't do it with servlet. In my servlet doGet method I have: protected void doGet(HttpServletRequest req, HttpServletResponse resp)      try      URL xml_

  • 2.5 SDK getting started: air.trace() not working

    I don't know where to turn. I´ve followed the steps on this tutorial and air.trace doesn't work. I'm using Windows Vista and the command prompt to run the debugger. It starts the app but air.trace sends nothing to the command window. I've tried runni