Open view in new browser window

Hi all,
I have got a webdynpro-application, which contains two windows and two views.
Actually each window contains one view. The second window is opened as a pop-up-window right now.
Instead of the pop-up, I just want to open a new external browser window which contains the view.
Moreover the context of the external browser window has to exchange data with the application itself.
Does anybody know how realize this?
Thank you in advance.
Kind regards, Patrick.

can help
some information
String strURL = WDURLGenerator.getApplicationURL("WebDynpro_PATH", "WindowApp");
Now u can use this strURL for opening your external window.
wdControllerAPI.getComponent().getWindowManager().createExternalWindow(strURL,"TITLE",false);
          IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("CallTreeWindow");
          //create the "AddressbookWindow"
          IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
WDWebContextAdapter.getWebContextAdapter().getParameter("param");
WDWebContextAdapter.getWebContextAdapter().getRequestParameter(key)
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.getShortName()))
                              found = true;
                              break;
               if(found)
                    return WDURLGenerator.getApplicationURL(parts, null);
               else
                    throw new EntryNotFoundException( "Application '" + applicationName + "' not found" );
          } else {
               throw new EntryNotFoundException( "Application '" + applicationName + "' not found in '" + dcName + "'" );

Similar Messages

  • Can I have links open in a new browser window?

    Is it possible to have links to pages outside of my website to open in a new browser window?
    I've created a podcast for my students to listen to.
    I've also created a kind of fill-in-the-blank activity to go along with that podcast, but that activity requires a different window.
    I want my students to listen to the podcast and do the fill-in at the same time.
    So, I'd like for the students to open the link to the fill-in and then click on the podcast on the original page.
    Advice?

    changing podcast links is a bit difficult - but here is a general link of how to open windows in a new window:
    http://www.rowan-cottage.co.uk/Site/Target_Blank.html
    max

  • Discoverer Viewer Open Link in New Browser Window

    We have created cubes with links to details (using Manage Links).
    When selecting the link from Discoverer Plus OLAP, a new browser window opens.
    When selecting the link from Discoverer Viewer, it opens within the same browser window.
    How can we force Discoverer Viewer to open a link in a new browser window?
    We tried adding the TARGET="_blank" to the link but that only gets added to the last parameter (or passed as a parameter).
    Unlike Discoverer Plus parameter, there is no _popup option.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    This article by Ted Padova will give you the JavaScript code that will accomplish this: http://acrobatusers.com/blogs/tedpadova/opening-pdfs-new-browser-windows

  • Open url in new browser window

    Hello,
    i am looking for a possibility to open an URL in a new browser window, when the end-user clicked on a button.
    I am aware of the LinkToURL view element. Unfortunately i would prefer to use a button element instead of the LinkToURL elementl. Can anyone provide me with a solution? Maybe there is a possibility to implement the needed coding in the action assigned to the button.
    Thanks,
    Dirk
    Message was edited by:
            Dirk Jäckel

    Hi Dirk,
    Use <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/79f82ccbec6fcde10000000a1553f6/frameset.htm">IF_WD_WINDOW_MANAGER</a> method CREATE_EXTERNAL_WINDOW and pass URL parameter in button click event handler. And don`t forget to call OPEN on new window instance.
    Best regards, Maksim Rashchynski.

  • Add option to open swf in new browser window

    Hello,
    I have a small animation on a webpage. The properties are to
    small to view all details. Can I add functionality to this swf that
    the user can open the swf file into a new browser window. This
    allows then for scaling to what ever size is appropriate.
    Any suggestions??
    Thanks!

    Hi,
    I hope I understood your question correctly, if so my suggestion may be helpful. Otherwise I think it's nearly the same what paul writes, I only made clear my proposal in a website for you, first a photo:
    and here is the link: http://www.goldschmiede-blumberg.de/pdf/adob_pdf.php.
    Note 1: "Ausgabe 9" und "ein Mausklick hier genügt" are links!!
    Note 2: " Um pdf-Dateien ...." Means: To read pdf files, you need the free Adobe Reader. The current version you can download from the Adobe website.
    Look at it's source code.
    Viel Erfolg
    Hans-G.

  • Open links in new browser window

    We are using Oracle WCI 10.3/Collaboration 10.3 and have a Community Links Portlet (collab portlet) setup. The links open up in the same browser window and to get back to the portal, the user has to hit the back button on the browser. So,
    1) Is there a portal/collaboration configuration that enables links to open up in a new browser window?
    2) Is there a way to hide the address bar when the link opens up in a new window? (the reason for this question is, we may have a link to some applications where we don't want the user going in directly. So, by hiding the address bar, they can't copy the URL and access directly without going in through the portal).
    If there is any better way to do question 2 above, would appreciate the feedback.
    Thanks.

    I was able to figure this out:
    1) In the My Account section, under display preferences, there is an option to "open documents in same window" or "new window". By changing this, links in the Community Links portlet open up in a new browser window.
    2) With a simple javascript example that I found on the internet, I was able to customize the popup browser window with no address bar or menu buttons.
    Edited by: user1301820136 on Jun 26, 2009 9:59 AM

  • Open QT In New Browser Window - Followup Q For Quicktime Kirk

    Quicktime Kirk:
    I found a thread a few months ago (now archived) where you explained how to open a QT movie in a new browser window at specified dimensions. The example you gave was your page:
    http://homepage.mac.com/kkirkster/bushbashquiz/
    So I've got it all working and it looks great in Safari and Fireworks (thanks very much!), BUT unfortunately it does not work in Explorer. What happens in Explorer is that the window basically targets "_.self" (i.e. the parent window goes away), and when you click the "Close Window" button it closes the window and you're left with nothing.
    I know that Explorer has all kinds of bugs, but unfortunately it's popular -- esp. with the PC crowd whom I need to allow for. Do you or anyone know how to get this functionality working in Explorer???
    Thanks again.

    Yep. I just checked the link using IE for Mac. The "pop-up" window replaces the source window (not supposed to do that). Another reason to no longer use IE on a Mac.
    The javascript is valid in every other Mac browser. Just not IE, it seems.
    My PC is down (I think it really died this time) so I can't test its implementation of javascripts on a PC platform.
    And, you're correct. It doesn't work as it should when opened using IE on a Mac.
    I "borrowed" the javascript and it must contain errors that are not so obvious on the Mac OS.
    I'll look for the cause but can't promise a solution. Thank you for pointing this out. I try very hard to accommodate all browsers and OS's. This one skipped by me (no IE use in years on my Mac).
    Maybe a javascript guru can "fix" my (or IE's) sloppy page code.

  • Add button to open PDF in new browser window CS3

    I'm trying to add a button that says "Go" that will open a PDF in a new browser window.
    I've looked at the following article but don't see the "Select Action" pull-down.
    http://www.acrobatusers.com/blogs/tedpadova/opening-pdfs-new-browser-windows
    Using Dreamweaver CS3.
    Thanks in advance.

    Hi,
    I hope I understood your question correctly, if so my suggestion may be helpful. Otherwise I think it's nearly the same what paul writes, I only made clear my proposal in a website for you, first a photo:
    and here is the link: http://www.goldschmiede-blumberg.de/pdf/adob_pdf.php.
    Note 1: "Ausgabe 9" und "ein Mausklick hier genügt" are links!!
    Note 2: " Um pdf-Dateien ...." Means: To read pdf files, you need the free Adobe Reader. The current version you can download from the Adobe website.
    Look at it's source code.
    Viel Erfolg
    Hans-G.

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

  • "Go to URL" not opening in a new browser window

    We are using FrameMaker 10 and RoboHelp 9 in a Windows 7 environment.
    When we create hypertext links, we use the "Go to URL" command.  According to the FrameMaker 10 online help, this is what the command is supposed to do: "Launches browser and displays the specified Web page."
    Then we publish the content to RoboHelp's WebHelp.
    When we see the hypertext link in the WebHelp/HTML output, it looks like this: http://www.adobe.com
    When we click it, the Web page appears inside the content frame of the WebHelp.  It does not open a new browser window.
    We can manually go into the html file and look at the hypertext link.  It looks like this in the WebHelp output:
    <span class="FM_Link"><a href="http://www.adobe.com">www.adobe.com</span>
    In order to manually change the link so that it opens the Web page in a new browser window, we can edit the link as follows:
    <span class="FM_Link"><a href="http://www.adobe.com" target="_blank">www.adobe.com</span>
    After we manually edit the HTML file, save it, launch the WebHelp, and click the hypertext link...it now opens the Web page in a new browser window.
    Is there a way to create the hypertext link in FrameMaker so that the WebHelp output will open the Web page in a new browser window?
    Thank you in advance!
    Tim

    Please see the previous posts in this thread to review how you create hyperlinks in FrameMaker that open the Web page in a new browser window.
    The problem is this: If you publish the exact same file to PDF, the hyperlinks will not work.
    The properties (syntax) of the hyperlinks in PDF output need to look like this: http://www.adobe.com
    The hyperlink syntax in WebHelp (in FrameMaker) needs to look like this: http://www.adobe.com" target="_blank
    (...so when they are published to Webhelp, they look like this: "http://www.adobe.com" target="_blank")
    Other than going into either the HTML or the PDF output and manually changing each hyperlink URL syntax for the specific output, is there a syntax that opens a new browser window in both PDF and HTML with one single "Go to URL" command?
    Thanks in advance for your help.
    Tim

  • Open file in new browser window

    Hello,
    The contents of file is stored as a blob object in database. The filename(.pdf, .csv, .txt) is displayed as a commandlink in a page. On click of the commandlink I would like to display the contents of the file in a new browser window. How do i do it.
    Thanks in advance for your help.
    Kalpana

    Thanks for the reply. I tried opening a pdf file from the local drive and it works fine.
    My requirement is the outputlink displays a list of files in a datatable. On click of the link I need to read the file from the database. The file resides in the database as a blob.
    Now issue is on click of the outputlink i am not able to get the name of the file. Is there any way to get the name of the file.
    Thanks in advance for the help.
    Kalpana

  • Opening up a new browser window in java

    So, i'm trying to open up a browser window to download the mac runtime for java, if the system is a mac. but because of microsoft not letting java to javascript communication i can't do it. anyone got any ideas?
    thanks,
    Pete

    Hi,
    you may check the platform in your applet with
    System.getProperty("os.name"); and then open new browser window with
    getAppletContext().showDocument(url_to_download, window_name);Regards,
    Martin

  • PDF viewer into new browser window

    Hello,
    I use following code to open new browser window with PDF file. The URL passed to the method is link to SICF service which returns the PDF in the request with content-type = 'application/pdf'. New window is open with correct URL, but the content is not displayed - Refresh or Go button has to be pressed to display it. Don't you experience similar problem? Is this WD error or some IE security setting?
    Thank you and best regards,
    Ludek
      lr_window = lr_w_manager->create_external_window(
          url = ld_url
          title = ''
          modal = abap_false
          has_menubar = abap_true
          is_resizable = abap_true
          has_scrollbars = abap_true
          has_statusbar = abap_true
          has_toolbar = abap_true ).
      lr_window->open( ).

    Hi Ludek,
    Probably a compression problem. Have you turned off gzip compression for the pdf?
    Btw, an alternate solution without having a separate handler is to use the cl_wd_runtime_services=>attach_file_to_response() method.
    Best regards,
    Thomas

  • Open portlet in new browser window

    Anyone know of a way to open a portlet, or a page containing a portlet, from a link into a new browser window? This is different than showDetailsPage, which opens in the same browser window.
    Thanks.

    I tried to do this through Item Attributes for the portlet (clicking the little pencil), where there is a radio button for "Display Options."
    One choice is: "Link That Displays Item in New Browser Window."
    (I do have something in for the "Display Name" which seems to be required to get a link.)
    However, this doesn't seem to work. No link shows.
    (It works fine for
    I have tested this with a Discoverer portlet, and also with a more generic portlet (the "Developer News" portlet in the 9iAS Community portlet provider).
    Is this broken / a bug?

  • Link to open up in new browser window

    Hi everyone,
    I need a link to open up in a new browser window but don't want to use the target attribute as it's deprecated. Can someone tell me if Dreamweaver has any built-in javascript behaviours that will do this for me?
    Appreciate any help.

    Yes, it's called Open Browser Window: http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7b0 7a.html.
    A more sophisticated version is my SmartLink extension, which is available free from http://foundationphp.com/tools/.

Maybe you are looking for