Launching the URL in the same window

I have a view with some data and couple of buttons. When i click on a button, an url has to be opened in the same window.
For that, i have defined an exit plug at the window with an optional url parameter and the on action of the button click, i am firing the window exit plug by passing the url value in the parameter.
When i click on that button i got the exception like " URL parameters specified for an exit or suspend plug, but no URL specified
Can anyone suggest ?

Hi,
         If ur launching URL of other Web Dynpro Component,
U can do this way... For example Comp-A  and Comp-B ( URL)
Emdeb the Comp-B in Comp-A by using component usages.
1.In the view of Comp-A..suppose iam having a Button.Place a  View Container in the same View
2. Create an out bound Plug For View of Comp-A.
Go To Window OF Comp-A.
1 . Right Click to Embed,u will find the Comp-B's interface View , embed that one  into View Container of the Comp-A
2 .Maintain  Navigatin Link From Out-Bound Plug Of the View to Default Plug of the Comp-B's interface View .
ON Action Of the Button.Fire that out Bound Plug of the view
Thanks & Regards,
Naga Prakash

Similar Messages

  • Open a URL link in the same window as SWF file in indesign CS5

    Hello,
    I am trying to create a SWF file using indesign CS5.  I have created buttons and placed in URL links but they always open another window.  I would like to know if there is a way to have the URL open in the same window that the SWF file has been created.  I tried, putting "_self" to target it in the URL bar, but nothing works.
    Thanks in advance
    TK

    Okay, I found the code but I can't get it to work locally.  If you have a web server maybe you can upload the files (swf and html) after you Publish them:
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    var myURL:URLRequest = new URLRequest ("http://www.google.com");
    testlink.addEventListener(MouseEvent.CLICK, clickText);
    function clickText(myevent:MouseEvent):void {
    navigateToURL(myURL, "_self");
    you have to have on the stage a link element called "testlink" (see the code above) which would be a Movie Clip with the label testlink.  It can be anything from InDesign:  a button, a rectangle, a circle, a graphic, you get the idea.  Just select that object in Flash and label it testlink or anything you choose but if you change the name from testlink also change the name in the code snippet where the line "addEventListener" is.

  • Open a URL in the same window

    Hi,
    My objective is to open a URL when i click on a webdynpro iView in the same window.
    I created a outbound plug in the InterfaceViewController.
    And wrote this piece of code in wdDoBeforeNavigation() in Component controller.
    wdThis.wdGetExternalComponentInterfaceViewController().wdFirePlugGoToUrl(Url);
    Where "Url" is a string variable contaning the value.
    But when i run this piece of sode it gives exception
    "Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application!"
    So what should i do solve this problem
    Regards,
    Paresh

    HI,
    Procudere to create the LogoffURL
    In the Application properties add your URL name.
    LogoffURL = http:
    www.google.com
    1.      Define an exit plug in the interface view of your Web Dynpro component:
                                a.      Enter a name and check the checkbox Exit Plug.
                                b.      Enter the name Url for the parameter and select string as the type.
    This parameter is case-sensitive and must be entered exactly this way.
           2.      In your view, define the action Exit and add the event handler onActionExit().
           3.      In the view layout, define a button and bind its onAction event to the Exit action.
           4.      In your view, define the use of the interface view controller of your Web Dynpro component under Properties.
           5.      Insert the following code in this method of the implementation:
    String logoffURL = wdComponentAPI.getApplication().getApplicationInfo().findInApplicationProperties("sap.logoffURL").getValue();
    wdThis.wdGetTimeCompInterfaceViewController().wdFirePlugExit(logoffURL);
    OR Do u need to generate the URL by using the application?
    Thanks,
    Lohi.

  • Planning application url is always opened in the same window?

    hi all,
    we hava a problem about sts's planning application url.
    no matter what url is entered,all the planning application url is always opened in the same window.and the old  opened url is covered by the new url.
    Is there any solution about this? Can this url be opened in seprate window?
    Thank you!
    Best Regards,
    ma

    Hello
    I would like to know one thing before answring the question how did you link with an url with the label based menu.
    Did you used the opendocument syntax or what did you used.
    Another method is why donf you use the URL button and map according to your requirement. place the url button on the menu item and change the properties to tranperancy to 0%.
    Thanks
    Santhosh V
    Edited by: Santhosh Vudarla on Nov 19, 2010 12:05 PM

  • URL opening in the same window in Favourites..

    Hi All
    In Oracle Applications Responsibilites navigator window, if i clicked on a URL in the favourites, its opening the URL in the same window. How to make it open in a new window?
    Thanks
    Rahman

    Right, thank you. I do have it set to "_self". But it's still opening in a new window.
    I need to get the HTML file to open in the same window.
    You know, I may just need more experimenting here, because the flash file isn't in its HTML header template yet. Things may change once I have that done.
    Here's the code I have on the URL.
    home.addEventListener(MouseEvent.CLICK, bClick);
    var getHome:URLRequest = new URLRequest("index.html");
    function bClick(event:MouseEvent):void {
        navigateToURL(getHome, '_self');

  • Opening URL in the same window

    Hello,
    I have a webdynpro Java Application which is opened on the click of the iview which is created for it.....now i want to specify a URL for it which should open it in the same window.....rather than an external window.....how can i achieve the same...? how can i specify the URL in the Default Plug (event handler) of the Interface View Controller.....so that it opens up...
    Any help would be highly appreciated...
    Regards,
    Shikhil

    Hi Shikil,
    use this
    String navigateto="ROLES://portal_content/";
    WDPortalNavigation.navigateAbsolute(
                                                 navigateto,
                                                 WDPortalNavigationMode.SHOW_INPLACE,
                                                 (String) null,
                                                 (String) null,
                                                 WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                                                 (String) null,
                                                 (String) null,
                                                 (String)null);
    navigateto is the pcd of your iview.
    thanks,pkv

  • How to open url request in the same window

    hail unto theeeee..
    I finally got my buttons to work, but now I need help getting
    them to open in the same window. As of now each button opens a
    separate new window. UGGGGG!
    Thanks in advance!

    Thank you thats what I needed alright! problem solved.

  • Navigate to another application in the same window

    How can I navigate to another application in the same window? I know how to open in a new browser.
    Also, I cannot give a linktourl UI. I have to do it on click of a button.
    I can get the URL. How to go there now?
    Thanks in adv.

    Hi Shweta,
    You can get a URL to a webdynpro application and also navigate to it. I used  below code snippet,
    METHOD onactionclick .
    * Data Declarations
    DATA:
    lr_ref TYPE REF TO ig_ZWDA_APP1,
    str TYPE string.
    *Get the URL of the Application
    CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
        application_name = 'ZWDA_APP2'
    IMPORTING
       out_absolute_url = str.
    *Reference of Window
    lr_ref = wd_this->get_ZWDA_APP1_ctr( ).
    * Fire Exit Plug
    lr_ref->fire_go_exit_plg(
    url = str
    ENDMETHOD.
    u can modify it so that ur current application is not closed or that new application gets launched in seperate browser window.
    Greetings
    Prashant

  • Open link in the same Window

    Hello,
    i want to open a link from a WDA Action Method, in order to open a bsp applikation. The new page should appear in the same window (no popup, no new window). Here the code which i have at the moment, but the BSP Applikation starts always in a new window. What can i do ?
    data:
    lt_parameters TYPE TIHTTPNVP,
    ls_url               type string,
    lo_window_manager type ref to if_wd_window_manager,
    lo_api_component      type ref to if_wd_component,
    lo_window                type ref to if_wd_window.
    CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application
          EXPORTING
            bsp_application       = 'ZHRMPBA004'
            bsp_start_page       = 'ZHRMPBPTI006.htm'
            bsp_start_parameters = lt_parameters
          IMPORTING
            abs_url              = ls_url.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    CALL METHOD lo_window_manager->CREATE_external_WINDOW
              EXPORTING     URL            = ls_url
             RECEIVING     WINDOW         = lo_window.
    lo_window->open( ).
    thanks for replays

    You are calling CREATE_external_WINDOW. That API is designed to open the application in a new window.  So that isn't appropriate for what you want.  If you want to navigate in place then you should use an Exit Navigation Plug.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm

  • "Open each folder in the same window" not working

    hey guys, just today, I noticed that whenever i double click a folder, it opens in a new window.  I went to folder properties, and made sure I checked "Open each folder in the same window," and its checked.  I tried switching it on, then off, then restoring all defaults in both those settings and the view settings, and I've tried restarting the computer, even using a system restore point.  No Matter what, whenever I double click a window, it opens in a new window, but if I use the navigation pane, or if I highlight a window and click the open button at the top left, it opens in the same window.  This is very very very annoying, because just navigating my harddrive, I might end up with 20 windows open to reach just 1 file.
    Does anyone know what's wrong?  or how I can fix this? 

    I was experiencing this same issue on my laptop and spent several frustrating hours of searching in vain for a solution. I tried most of the same fixes mentioned here with no success (re-registering DLL's, running the system file checker [sfc /scannow],
    turning off the navigation pane, performing virus scans, etc). After almost giving up, I discovered that I only experienced this behavior when I accessed Explorer from the shortcut which was pinned to my taskbar. When I opened the "Computer" shortcut
    on my desktop, I was able to open individual folders without having new windows open each time. I suspect that this is related to the new design/function of the taskbar in Windows 7. To get the results I wanted, I opted to revert to the "classic" style
    taskbar seen in Windows Vista (AKA the "Quicklaunch" toolbar) by following the instructions here:
    http://www.howtogeek.com/howto/windows-7/add-the-quick-launch-bar-to-the-taskbar-in-windows-7/
    Then, I simply added a new shortcut to "Computer" in the new Quicklaunch toolbar and, "Voila!" - problem solved. Oddly enough, I don't experience the same behavior on my desktop PC which is also running Windows 7. Ain't Microshaft grand?!? (a-hem)

  • The link open in the same window - Label based menu

    Hi All,
    I'm using Xcelsius 2008.  I add a Selector Component "Selector complonenet > Label based menu". I setup 6 Lable and each one link to a URL. When clicking the label on the generated SWF report, the link opened in a new window.
    So i'd like to know if the link can open in the same window (not pop-up a window and open in it)?I tried to setup it in properties, but it seems there is no way to do this.
    Could I get your guide how to do that? Thank you so much.

    Hello
    I would like to know one thing before answring the question how did you link with an url with the label based menu.
    Did you used the opendocument syntax or what did you used.
    Another method is why donf you use the URL button and map according to your requirement. place the url button on the menu item and change the properties to tranperancy to 0%.
    Thanks
    Santhosh V
    Edited by: Santhosh Vudarla on Nov 19, 2010 12:05 PM

  • How to open KM file in the same window

    When we open KM file by /irj/go/km/docs/... link it is previewed in a new Internet Explorer window.
    We changed Targed property to Self for iView navigation in LayoutSet render but the image file is still opend in new Window.
    How to workaround this?

    We changed Target Window Type property value of ResourceRenderer of Navigation iView  to Self.
    When an authenticated user  tries to open KM file it is opened in the same window if file URL include /irj/servlet/prt/prtroot....
    If file URL contain /irj/go/km/docs/.. it is opened in new window.
    When an anonymous user  tries to open KM file it is opened in a new (popup) window.
    We need that anonymous user can open km files in the same window.
    How to work around this?
    We use light framework.

  • Open a browser window in the same window

    Hello everybody, I have a question:
    I want to open a browser window from an applet. Not in a new window but in the same window.
    I already know about the
    getAppletContext().showDocument(new URL("http://java.sun.com"), "_blank");
    applet-instruction but it opens the html page in a new window. I have already proved changing the "_blank" parameter for "_self" or "_parent" but stills the same: it's opened in a new window. Does anybody could help me please?
    Thanks

    public void showDocument(URL url)
    Replaces the Web page currently being viewed with the given URL. This method may be ignored by applet contexts that are not browsers.
    Parameters:
    url - an absolute URL giving the location of the document.
    Applet must be running in a browser for this to work. More information at this website
    http://java.sun.com/j2se/1.4.1/docs/api/

  • How to navigate from webdynpro view to bsp page in the same window?

    hi i want to call a page by its url.
    i am using the "create_external_window" method.
    but it is displying my url in a new window.
    i want to display it in the same window.
    the second page i want to call is a bsp page.
    i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
    it displays nothing.
    thanks for your hints.

    >
    Achref zaidi wrote:
    > hi i want to call a page by its url.
    > i am using the "create_external_window" method.
    > but it is displying my url in a new window.
    >
    > i want to display it in the same window.
    > the second page i want to call is a bsp page.
    >
    > i tried also the portal manager and NAVIGATE_ABSOLUTE but nothing happens.
    > it displays nothing.
    >
    > thanks for your hints.
    Hi,
    Navigate_absolute method has navigation mode. Can you please tell me what you mean by nothing happens ? This will work only in Portal environment.
    So if you try with portal then remember to use  Navigation_mode as inplace.

  • Starting a GP from VC in the same window

    Hi everyone!
    I'm starting a GP process from GP, using an GP URL, using a button with an hyperlink action, because I needed to avoid using HTML view.
    It works great, but when I click the button, the GP process opens in a new window!
    I need that the process runs on the same window.... is that possible?
    Points available!
    Thanks in advance!!
    Marcelo

    Hi Natty, Govindu and Marcel
    thanks for your quick answer.
    Natty: you're absolutely right, I'd say yes without hesitation!
    Where I can do that? Is there any place to make suggestion or ideas? (I have a lot to share!!)
    Govindu: thanks for our answer
    Marcel: as you said, I had to use a workaround to solve it: 2 layers, and an HTML view inside the 2nd layer. It isn't nice, but at least it works.
    Thanks a lot to everyone, you all get point for your support.
    Best Regards,
    Marcelo

Maybe you are looking for

  • Help! - New Podcast feed in iWeb 2.0

    I have been putting off updating to iWeb 2.0, as I have been following all the problems with it changing the RSS feed and not redirecting your podcast. I have over 3,500 subscribers to my podcast and don't want to risk messing it up. I have read thro

  • 2600 Sim Card Busy

    I am having 2600. Whenever I try to see SMS or write SMS "sim card busy" message is coming. I tried some common trouble shooting techniques like starting with out sim, switch off /on several times. Now no sms's are also coming. Can anyone help?

  • TS1424 End of song missing - itunes download

    Hi, I recently downloaded "Out of the Black" by "Royal Blood" from itunes and the last 26 seconds of the song is missing, when I listen to the song it just cuts out before the end of the song. Do you know what could be going wrong here? Can I try dow

  • Layout Designer, section "End of Report"

    Hi there, I'm trying to display a summary at the bottom of my report with a border around it. The section I use for this is the "End of Report" section so the summary only will be shown at the last report page. In the section properties I told to dra

  • Dreamweaver login wizard

    Just installed dreamweaver 8 but I cannot see the login wizard as per instructions With a Coldfusion document open in Dreamweaver, select Commands > ColdFusion Login Wizard. Please help