Open a new url in new window

Hi all,
I have implemented an application & integrated in EP. In my view i have provided a link on click of which i should be able to open a separate url in a new window.
Again, I need to pass some url parameters which should not be visible in the url string when i am opening that url in new window.
Any suggestions...
Thanks,
Arch

Hi,
First u have to create outbound plug in interfaceview
1)Open the node WebDynpro -
> Web Dynpro Components -
> <ComponentName> -
> Component Interface -
> Interface Views in that click <interfacename> interface view .
2) Select the Plugs tab in the Plugs area.
3)Choose New next to the outbound plug table.create new outbound plug.for example,Name GotoUrl, and choose Type Exit Plug.
4)Select the new outbound plug GotoUrl and choose New next to the parameter table.taEnter the name Url datatype as STRING.
5)Open the view in the View Designer and select the Properties tab. Choose Add next to the Required Controllers table and add the <interface name>InterfaceView
Place 1 button and check,
onActionButton write this code
wdThis.wdGetSampleInterfaceViewController().wdFirePlugGotoUrl(
"http://www.google.com");
Regards,
Suresh.T

Similar Messages

  • Open new URL in same window

    Hi all,
    I am using "linktourl"  element for open a new url page.
    This is done by reference property(opens in new window).
    My need is to open the New URL in same window instead
    of new......
    Anyone can help me plz and send the codings.....

    I think this is double posting.....please close one thread
    [link|open new URL page in same window;

  • Open a new url in  same  window

    I am displayed a button using web dynpro abap,
    if i click the button means a new url page should be
    opened in the same window.
    I did the application but when i click the button means
    a new window is opened.It should not be happened.
    Anyone can plz send me the correct coding immediately....

    >
    cranjith kumar wrote:
    > I am displayed a button using web dynpro abap,
    > if i click the button means a new url page should be
    > opened in the same window.
    >
    > I did the application but when i click the button means
    > a new window is opened.It should not be happened.
    >
    > Anyone can plz send me the correct coding immediately....
    First of all how is anyone supposed to help you correct your coding when you have posted any.  We can't possibly know what is going on inside the event handler for your button. I suggest that post some of your coding here.  In general if you want to open another URL in the same page without using the linkToURL UI element, you should consider the usage of Exit Plugs:
    [http://help.sap.com/saphelp_nw70/helpdata/EN/45/1bc575ba064574e10000000a114a6b/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/45/1bc575ba064574e10000000a114a6b/frameset.htm]
    Second, please don't ask people to do something "immediately".  Everything done in the forum is on a volunteer basis and people help out as fast as possible.  Your prompting for immediate action is quite unnecessary and could be considered somewhat rude.

  • Redirect to new URL in same window?

    Hi all - I have a SWF embedded in an HTML file. After the movie has finished playing, I want a new URL to load. I currently have the following code in the final keyframe of my actions layer:
    navigateToURL(new URLRequest(http://www.someurl.com));
    ...which works, but the problem is that it opens up a new window for the new URL instead of redirecting within the same window, which is what I'd prefer. Is there a different command that I can use to force the new link to open in the same window?
    I guess I could use a Javascript redirect within the web page's HTML, but it seems safer to me to use Actionscript within the Flash movie. Anyway - thanks much in advance for any help.

    It is pretty much the same as what you would do with html...
    navigateToURL(new URLRequest("http://www.someurl.com"), "_self");

  • Loading new URL in root window

    Hi,
    I want to automatically download a zipfile from a certain location. Want i wanted to do is when the user click a button, i load new url in the current (root window) which will automatically show the download popup from mozilla/IE. Is there a way to get a reference to the rootwindow and load the new url and won't this cause any problems?
    Thanks in advance,
    Hugo

    Hi,
    U mean when you click button generate new external window with currentWindowinformation?
    Or any thing else?
    Elobarate More.
    Thanks,
    Lohi.

  • When I open a new URL I want it to open in a new tab instead of replacing the last tab in line.

    When I have several tabs open and I open a new URL the new URL replaces the last tab on my bar. I would just like for the new URL to open in a new tab.

    Did you have the Google Toolbar installed?
    * http://www.google.com/support/toolbar/bin/answer.py?answer=115561 Web-browsing tools : Google new tab page and most visited websites
    Other extension that have a similar feature:
    *Speed Dial: https://addons.mozilla.org/firefox/addon/4810
    *Fast Dial: https://addons.mozilla.org/firefox/addon/5721

  • Open the external URL in another tab of window browser

    Hi,
    I have create application to open the external URl into new window browser by using CREATE_EXTERNAL_WINDOW method. now how can i open this url into same window tab. is there any method that allow me to open this external URL into window tab.
    Thanks,
    Digamber.

    The open external window API doesn't support specifying "in another tab". That is completely browser specific! Some browsers don't even have tabbed browsing.[ I don't even think that even javascript has this functionality!|http://www.dynamicdrive.com/forums/archive/index.php/t-19843.html]
    You'll not be able to do this. Sorry.
    You might be able to change the browser configuration so that it defaults new windows into a new tab... But not through WD.
    Cheers,
    Chris

  • Open external url dynamic link in new tab  (no new window) in Chrome

    Hello,
    We need to navigate to a external link in response to user double-click in a row table.
    We've succesfully created the code to invoking a managed bean as response of double-click user event. For that, we added a clientListener object to the table object, and add the javascript code to queue the actionEvent for launching the backing bean code.
    In backingBean code, we execute code to calculate link url based on several conditions, (e.g: depending on a type object, url is http://server1/data.asp?param=..., or http://anotherserver/miApp/exp.cfm?d=2&p=..., ... and so on)
    Now we have the URL string, we invoke code to open the page in the new tab, but, the new page always is opened as a new window, not as new tab in the current browser.
    We have tried with several code:
    1)
    String script = "window.open('" + sURL + "');
    ExtendedRenderKitService service = Service.getRenderKitService(FacesContext.getCurrentInstance(), ExtendedRenderKitService.class);
    service.addScript(FacesContext.getCurrentInstance(), script);
    2) String script = "OpenNewTab('" + sURL + "');
    ExtendedRenderKitService service = Service.getRenderKitService(FacesContext.getCurrentInstance(), ExtendedRenderKitService.class);
    service.addScript(FacesContext.getCurrentInstance(), script);
    and adding the js function in our scripts:
    function OpenNewTab(url){
    var oFormNewPest = document.createElement('FORM');
    oFormNewPest.method = 'get';
    oFormNewPest.target='_blank';
    oFormNewPest.action = url;
    document.body.appendChild(oFormNewPest);
    oFormNewPest.submit();
    This function works fine in others app we have, but when it's invoked inside ADF app, we get a new window insted a new tab.
    We need to open a new tab, doesn't matter the method used.
    Any ideas?

    Thanks, but I also forget I tried before with
    var oTab = window.open(url,"_blank"); //and "_parent", and "_top"
    and doesn't work: The browser opens a new window, not a new tab.
    The same javascript code works fine outside an ADF application.
    Any other idea (using javascript or ADF backing bean code)?
    Regards.
    Edited by: romoracle on 29-feb-2012 6:39

  • Open new URL page in same window

    Hi all,
    I am using LinkToUrl UI element for opening a new URL
    page.
    I did it successfully by giving the URL in reference property.
    But the link is opening in new window.It should be opened
    in same window instead of new window.
    Any one can help me........

    Hi
    Use the target property of LinktoURL .
    You can specify the window name where you want to load new URL.
    Check the following Link.
    [Link|http://help.sap.com/saphelp_erp2005/helpdata/en/25/e2f0416ab6da6fe10000000a1550b0/content.htm]
    Regards
    Naresh

  • Open url in new window on button click of adf table

    Hi,
    I have a requirement in which i need to open the constructed URL in a new tab/window on button in adf table.
    I am using action listener for the button, using action event i am getting the values of the particular row to the bean and using those values i am constructing url.
    Now i have to use the URL and open it in a new tab/window.
    Please suggest me different approaches.
    jdev version 11.1.1.5

    Hi,
    Check following will match for your use case
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/33-open-page-in-new-tab-169175.pdf

  • Open URL in new window

    Hi folks,
    I am working on WAD3.5 where in I have created several links to open either WEBGUI i.e to open various customized TCODES in SAP-Bi or other queries. BAsicaly its a work bench sort of thing from where we can access various tools developed for client. I am using below mentioned HTML code:
    <TD class=SAPBEXBtnStd vAlign=top>
          <DIV style="HEIGHT: 20px"><A
          href="/sap/bc/gui/sap/its/webgui?~transaction=ZBI_AUTOMATION_TOOL"><B><FONT
          face=Verdana color=#000080>BI Automation Tool</B></FONT>
        </A></FONT></DIV></TD>
    where ZBI_AUTOMATION_TOOL is a customized TCODE. Issue is whenever i click on the link it opens the WEBGUI in same screen and when i click back the page expires. I want to open the URL in new window.
    Please help me by providing the exact syntax. It would help to resolve my issue. I have tried couple of things but they are not working.
    Thanks
    Rahul Mahajan

    There is a parameter on the web template that should be set..
    it is
    Open dialogs in new window - set this to either automatic or "Open Window  X"
    or add this to your template properties list:
    <param name="ENABLE_OPEN_WINDOW" value="X"/>

  • Opening a new URL in an existing browser window from a Java application

    I've tried one of the many codes to open a new browser window and it works, but I need something else.
    Is there any way to open a new URL on the same window on a Java desktop application? (Changing the URL on the current browser window without opening a new one, I mean).

    You can do that by using an add-on such as:
    * NewTabURL - https://addons.mozilla.org/firefox/addon/newtaburl
    * New Tab Homepage - https://addons.mozilla.org/firefox/addon/new-tab-homepage
    Another way of opening the home page in a new tab is to middle click on the home button in the navigation toolbar.

  • Minefield just would not open pages, whatever I tries to type in the addressbar the URL just stayed there and nothing happened. Even if I opened a new tab and put a new url again it did not even start loading the page. This is happening since the last upd

    Minefield just would not open pages, whatever I tries to type in the addressbar the URL just stayed there and nothing happened. Even if I opened a new tab and put a new url again it did not even start loading the page. This is happening since the last updates from today or yesterday. I already removed minefield and installed it again
    == This happened ==
    Every time Firefox opened
    == today ==
    == User Agent ==
    Mozilla/5.0 (Windows; Windows NT 5.2; Win64; x64; rv:2.0b3pre) Gecko/20100728 Minefield/4.0b3pre ( .NET CLR 3.5.30729; .NET4.0E)

    Create a new profile as a test to check if your current profile is causing the problems
    See [[Basic Troubleshooting|#Make_a_new_profile|Basic Troubleshooting: Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    See also http://kb.mozillazine.org/Browser_will_not_start_up
    You can discuss issues with Namoroka 3.6 and Minefield 4.0 nightly and alpha/beta builds at the MozillaZine Firefox Builds forum.
    That forum is better suited to discuss such issues.
    You need to register on the MozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=23

  • Open another website in a new browser window

    I can't seem to create links to external websites that open
    as intended in a new browser window while leaving the main browser
    window unchanged. Except in Safari on a Mac. See sample code.
    In Safari on a Mac this opens the new window and behaves as I
    want. In Safari on a PC it opens a new window, but in back. In
    Firefox on Mac I get an error message in which, when the "OK"
    button is cliked on, a new window opens in back of the main window.
    Same thing on a PC. Internet Explorer on a PC opens a new window
    but displays an error message forcing you to clik the back button
    to return to the main page.
    If I specify the main page url in the link field, then the
    main page gets reset to the top, which I don't want.
    How can I get FireFox and IE to accomplish this gracefully?
    To observe behavior go to
    http://www.digifon.com/framesetal_id.htm

    Don't use Frames. However, the issue of opening a new window
    is still
    hotly debated. My own approach is to mark the link with an
    icon and
    then to open a new window (or tab if the user prefers). If
    done
    properly with javascript, this will not spawn a myriad of
    windows and
    Standards-compliant. (And further, if javascript is off, the
    new page
    will simply open in the current window.)
    Based on this philosophy, I offer a DW Extension that makes
    adding this
    behavior dead simple. Here is an example of a page that uses
    it to good
    advantage. Despite all the external links and pdf links on
    the page,
    the Extension only needed to be added once to the page,
    rather than
    adding it to each and every link. Links added to the page
    AFTER the
    Extension is applied are ALSO acted on, a great time saver in
    my
    opinion, and easy on the user:
    http://squamscott.org/scc_green.asp
    The DW Extension is available here:
    http://divahtml.com/products/divaPOPgold/open_popup_windows.php
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Open "Navigate" enabled report in new window - OBI10g.

    Hello Experts,
    May be its novice user question, i have 2 reports, source and target reports. Both reports are connected using "Navigate" functionality.
    Issue is, i wan to open the target report in new window? is that possible?
    using GO URL: we have an option like target='_blank'. but in navigate.. what is the option?
    Thanks in advance....
    Regards,
    Kiran

    The Navigate feature can be modified to open targets in a new window by following the below steps:
    - Edit OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\b_mozilla\viewhelper.js
    - Search for function NavigateInfo()
    - Find the line with code this.sWindowTarget = "_self";
    - Replace the line as this.sWindowTarget = "_blank";
    - Clear the browser cache and reload the page.
    The navigation targets will now open in a new window.

Maybe you are looking for

  • Creating active directory users with dscl

    Our mac workstations (OSX 10.8) are bound to a 2008 Active Directory server.  We are attempting to use some existing dscl scripts on the mac client computer to create Active directory users.  We can successfully read and change AD attributes of an ex

  • Recovery Hanging at Startup

    Hi, I'm a first time poster here, I usually do my own research and fix my own problems but this problem has led me to the ends of my patience. So I have an HP G60, great machine, it served all my purposes. That is until an inconsiderate aunt pulled t

  • Interactive ALV tree problem

    Hi all, Please help, I have created ALV tree, with the help of standard program bcalv_tree_01. now i want to create it interative like DOUBLE CLICK on any ITEM or NODE. so i have define class and implement it with two method for event NODE_DOUBLE_CLI

  • Tips on upgrade required

    Hello All we are right now on windows server 2003 and oracle 10.2.0.1.0 we are planning to upgrade to 11g r2 what are the things i need to know?? i am referring the upgrade guide also the document says we need to be in Database 9.2.0.8, Oracle Databa

  • 100% CPU Usage caused by HMI

    Hi everybody: I'm working with LabVIEW DSC 8.2.1 in a system that monitors many variables of a plant, such a typical SCADA system. For this reason, the use of the graphic tools is highly used on the development of this system. Everything works fine,