Opening a web page in the same window ...

Hi all,
I wanted to open a web page in the same content area(window) and not in an external window . Could you tell me how its done ...
Regards,
Jayant.

hi
check out this link
http://help.sap.com/saphelp_erp2005/helpdata/en/83/e7c24122e3c317e10000000a155106/content.htm
create a exit plug as mentioned in link.
in the action event handler of button gives this.
public void onActionExitButton(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionExitButton(ServerEvent)
String logoffURL="http://help.sap.com/saphelp_erp2005/helpdata/en/16/d3643fce8bb01ae10000000a114084/frameset.htm";
wdThis.wdGetDynamicProgrammingInterfaceViewController().wdFirePlugToexit(logoffURL);
    //@@end
hope this helps,
Regards,
Arun

Similar Messages

  • How to open web pages in the same window

    When i click on a link in a search engine it always opens the web page in a new tab. Its annoying and i would prefer mozilla to open it in the current page. How can this be done?

    hello, this is a preference in your google search settings. go to google.com/preferences and disable the option to ''Open search results in a new browser window''.
    https://support.google.com/websearch/answer/425

  • How to open all the pages in the same window?

    I have set up 8 pages in my website. And i want to open the pages in the SAME window. What should i do?
    P.S. I nearly follow all the styles and command made in the video of 'Bayside Cable Car Website'. The pages should be opened under the navigation bar. However, i cannot do so.
    Please help.
    Thanks a lot.

    the_shocker wrote:
    I see no point in contributing dumb and useless stuff just to justify an ego...pointless....but kids hey.
    Wait, are you talking about your post or someone else's? It seems double standard and oxymoronic for you to contribute dumb and useless stuff about dumb and useless stuff just to justify your ego... pointless... but old people hey.
    best,
    Shocker
    Far too easy to wind-up......keeps me entertained though, thanks.

  • My safari stopped letting me open a new tab in the same window. what happened and how can I get it back to normal?

    When I try and open a new tab in the same window, it wont open a new tab. It leaves the page I am on and goes to the "top sites page."

    Hi,
    If you have got to  Mountain Lion OS X 10.8.2 and therefore Messages version 7.0.1 then double click the individual chats.
    Once they are in separate windows you can chat like that  (That's the way I used to chat - I didn't even use the tabbed chat)
    It is impossible to create a separate Chat window each new chat (you have to separate them off from the main window which also keeps a "copy")
    New chats are added to the main window even if you have used the red button to hide it. (CMD + 0 from the Window menu brings it back)
    10:49 PM      Tuesday; November 20, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Why firefox in my desktop can't open a new tab in the same windows?

    I can't open a new tab by clicking the + symbol. I don't know why this happen. If I want to open a new tab, I have to take a right click and then choosing open new tab. I think this is so terrible, I can't access the page on the same windows.

    Uninstall the '''''Ask Toolbar'''''. It can cause that problem.
    *http://support.mozilla.com/en-US/kb/Uninstalling+add-ons
    *http://support.mozilla.com/en-US/kb/Cannot%20uninstall%20an%20add-on
    *http://kb.mozillazine.org/Uninstalling_toolbars
    If that does not solve your problem:
    *See --> [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    *See --> [http://support.mozilla.com/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    *See --> [http://support.mozilla.com/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *'''''Adobe PDF Plug-In For Firefox and Netscape''''': [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *'''''Shockwave Flash''''' (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • How to open a new iView in the same window?

    Hi
      i want to open a new iview in the same window.How can i do that ?
    Thanks

    Hi,
    If u want to code in WDJ  ..
    Use following method
         WDPortalNavigation.navigateAbsolute(
         "ROLES://<PCD location>,
         WDPortalNavigationMode.SHOW_INPLACE,               WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
         (String) null  );
    SHOW_INPLACE is the key
    Cheers!!
    Ashutosh

  • Whenever I click the + Tab to open a new tab, it doesn't do anything. It seems like it has a safety lock on or something. It will not allow me to open up another tab in the same window.

    I try to open up another webpage on the same window, by clicking on the + Tab Button next to the current webpage Im viewing. For some reason it will not do anything. It will not open up.

    This problem has been associated with the Ask toolbar. You could try disabling it here:
    Tools > Add-ons > Extensions
    You may want to update to 3.6.17 to take advantage of security fixes.

  • Navigate to another page in the same window problem

    Hi,
    I have a problem with the following scenario:
    When a user clicks on a link in a portal, a web dynpro page opens in new window with the url similar to this
    http://server:port/irj/servlet/prt/portal/prtmode/runtime/prtroot/pcd!3aportal_content!2fCompany!2fIntranet_v2!2fApplications!2fZZ!2fPages!2fBrowseCopies
    So basically in this way we only want to display this single application, without portal top level navigation, inner page, masthead etc.
    The problem occurs when we try to implement navigation from this web dynpro application to another page
    When we use WDPortalNavigation a new window opens but we want the navigation to happen in the same window.
    We cannot use LinkToUrl control with _self parameter because its not supported.
    We also cannot use HttpServletResponse by getting it through com.sap.tc.webdynpro.services.sal.adapter.core.IWDWebContextAdapter class.
    We also cannot use ExitPlugs because the error occurs with the message that the ExitPlugs cannot be used in portal.
    Basically I need a redirect to another page. Any ideas how to solve this problem?
    Regards,
    Ladislav

    Hi,
    the link which initially opens this web dynpro application page is contained in a html page.
    Here is the code:
    WDPortalNavigation.navigateAbsolute(
      "ROLES://portal_content/Company/Intranet_v2/Applications/ZZ/Pages/PurchaseRequests",
      WDPortalNavigationMode.SHOW_INPLACE,
      WDPortalNavigationHistoryMode.NO_HISTORY,
      "requestNr="+wdContext.currentContextElement().getRequestNr());
    Regards,
    Ladislav
    Edited by: Ladislav Pomezny on Jul 2, 2009 1:23 PM

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

  • Displaying a page in the same window

    Hi,
    I have a submit button in the jsp page. When I click on that button the jsp page should be displayed in the same window. And also the page shouldn't have the toolbar and the menu bar displayed i.e., it should be full screen in the same window.
    I am able to to the full screen portion but, it is appearing in a new window. It's a java scipt code:
    code]
    <script>
    <!--
    /*Full screen window opener script: Written by JavaScript Kit (www.javascriptkit.com) More free scripts here*/
    function winopen(){
    var targeturl="start.jsp"
    newwin=window.open("start.jsp","","scrollbars")
    newwin.moveTo(0,0)
    newwin.resizeTo(screen.width,screen.height)
    parent.exit()
    return false;
    newwin.location=targeturl
    //-->
    </script>
    <form>
    <input type="button" onClick="winopen()" value="Open window">
    </form>
    How will I do this?
    Shipf1.

    Hi,
    I have a submit button in the jsp page. When I click on that button the jsp page should be displayed in the same window. And also the page shouldn't have the toolbar and the menu bar displayed i.e., it should be full screen in the same window.
    I am able to to the full screen portion but, it is appearing in a new window. It's a java scipt code:
    code]
    <script>
    <!--
    /*Full screen window opener script: Written by JavaScript Kit (www.javascriptkit.com) More free scripts here*/
    function winopen(){
    var targeturl="start.jsp"
    newwin=window.open("start.jsp","","scrollbars")
    newwin.moveTo(0,0)
    newwin.resizeTo(screen.width,screen.height)
    parent.exit()
    return false;
    newwin.location=targeturl
    //-->
    </script>
    <form>
    <input type="button" onClick="winopen()" value="Open window">
    </form>
    How will I do this?
    Shipf1.

  • Can multiple web pages use the same cookie?

    I have an applet that will reside in several different web pages. The applet creates a cookie that saves user preferences and loads them when the user next uses the applet. The problem is that I want the same cookie to load when the user views the same applet at a different IP Address. Is this possible? If so, how? I am currently using the netscape JSObject stuff to write and read my cookie.
    Thanks,
    Derek

    Sorry, you cannot access cookie across domains.
    If being able to access same cookie from different pages in the same domain satisfies you need, read on.
    Let's suppose you have two html files kept on your server as follow::
    MyHTML/main.html
    MyHTML/subDir/A.html
    Now, let say that when you save the cookie, the path is not specified. A.html will not be able to access the cookie set by main.html. However, if you specified PATH=/ (along with other values and expiry date-and-time), both html files will be able to access the same cookie via the document.getMember method.
    This is more of a JavaScript question than a Java question and you might want to pay a visit to the link below:
    http://forums.internet.com/WebX?[email protected]^[email protected]
    you can go to the bottom of that page, click search and type in cookie and you'll see a lot of Q&A on the topic.
    Good Luck
    V.V.

  • Can we open a linked report in the same window instead of new tab

    Hi,
    Please suggest me i have a link to another layout on one of the layout in our report. When ever i click on the link in the layout it opens a new window.
    i don't want that to happen can i have it in the same window?
    thanks
    Vijay

    What is your report template type? Is it RTF or XPT (Layout Editor)?

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

  • How to open XML form item into the same window?

    Hello All,
    I've developed a xml form, when I click on the  item with KM Navigation Iview It opens in a new window.( _blank ).
    Is there a way to open it in the same window ( _self )?
    Thanks
    Amit Yosha

    Hi Amit,
    at the moment, this is not configurable. See XML form display in same browser window for possible workarounds.
    Hope it helps
    Detlev

  • I am not able to open a new tab in the same window.

    I was able to opennew tabs in the same window but now I am unable to do it

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

Maybe you are looking for