Open a new I.E window from web dynpro

Hi:
When I click on a button I would like to open a new I.E. window
I have used the following code:
IWDWindowInfo windowInfo =               (IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("Window1");
     IWDWindow window =     wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
     window.open();
but this one opens a popup window. I wanna open a new window independent of the current window.
Any suggestions.
Thanks,
Praveen.

Hi Praveen,
       If u want to open a external window u have to use
IWDWindow window = wdComponentAPI.
        getWindowManager().createExternalWindow("URL", "Title",false);
Follow the below steps
1.Create a different application(app2) and component(comp2) linking to the window2 in the same project
2.Deploy the app2.
3.Go to ur view implementation in the window 1 .
4.write the below code snippet to get the url
String applicationURL = WDURLGenerator.getApplicationURL(“ProjectName”, “App2”);
5.Open external window using
IWDWindow window = wdComponentAPI.
        getWindowManager().createExternalWindow(applicationURL, "Title",false);
window.open();
Now ur window 2 will be opened in the new I.E
To have more info on WDURLGenerator api.
Check this link for WDURLGenerator.
http://help.sap.com/saphelp_nw04/helpdata/en/21/82a9058fa8de46b1ba7522289345b2/frameset.htm
Hope this solves ur problem.
Regards,
Sowjanya.
Message was edited by: Sowjanya Chintala

Similar Messages

  • How can I set Firefox to open a new e-mail window from a contact link in a web site in Gmail rather than in Microsoft Outlook?

    When I click on a "Contact Us" e-mail link in a web site, Firefox opens the blank e-mail window in Microsoft Outlook. I rarely use that program any more; I use Gmail instead. Is there anyway I can change the settings in Firefox so that it will open a Gmail window instead?

    See this - http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • Opening a new fixed-size window from a link

    I'm primarily an illustrator, but am working on my own new
    web site and do a few for other folks as well.
    I'm by no means a guru so excuse my clueless questions... (I
    use Dreamweaver 8)
    I see many web pages that can do
    any or all of the following and I'm hoping without complex
    coding or js stuff...
    + Open a fixed-size window from a link on a page - as in a
    smaller window like 250x400 that would contain a photo or drawing
    + Opens a new page from a link with a fade-in (ie, from blank
    or dark background to an image) like what happens when you click
    the "view larger" link at this page =
    http://www.imagekind.com/showartwork.aspx?imid=e08f2a00-8925-4353-8c72-e0d1f4eb1879

    > I was going to post a screen capture but looks like that
    isn't
    > possible in this forum.
    There's a reason. Screen captures only demonstrate "what",
    without
    providing any useful "why" information. Show us your code,
    please - best
    way would be to post a link to the page. I suspect the reason
    you are
    seeing what you are seeing is that the container for the
    lightbox effect is
    not large enough, or the image being used as a background for
    that container
    is not large enough. We'll only know that by seeing the live
    page.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Nate Owens" <[email protected]> wrote in
    message
    news:gqg0ch$2i4$[email protected]..
    > This is working well (Lightbox) but it does something
    that I haven't
    > figured
    > out how to fix.
    > It opens my image against the dark background as it
    should with the parent
    > page ghosted in back, but there is a margin at right
    side and bottom where
    > the
    > dark area abruptly ends and the parent page is visible
    in those areas
    > without
    > the dark image background extending to fill the window.
    > I've examined the html but see nothing I recognize that
    denotes the
    > extents of
    > the dark area. I was going to post a screen capture but
    looks like that
    > isn't
    > possible in this forum.
    > Any ideas would help.
    > Thanks,
    > Nate
    >

  • Open a new outlook  email with Abap Web Dynpro

    Hi Experts,
    I'm developing an abap web dynpro application, and at the end of a text I need to have a link that opens the outlook for sending and email, do you know how can this be done with ABap Web dynpro.
    Regards and thanks.
    Fona

    It should be noted that just relying on the browser handling for the [url mailto: reference|http://www.w3.org/TR/WD-html40-970708/htmlweb.html] does not guarantee handling by any specific email application. It is completely up to the browser implementation - The HTML 4.0 spec does not specify any handling other than:
    MAILTO URLs have the following syntax:
    mailto:email-address
    User agents may support MAILTO URL extensions that are not yet Internet standards (e.g., appending subject information to a URL with the syntax "?Subject=my%20subject" where any space characters are replaced by "%20").
    Then again - given that WDA supports so few browsers (user agents!), you could probably get around the different support in each them in a reasonably common way.
    To ensure that it is MS Outlook you are launching and potentially pass more data into that email you'll need to make use of the [ACFExecute functionality|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b91539878a2d67e10000000a42189c/frameset.htm] and then also the [command-line interface of Outlook.|http://www.brighthub.com/office/collaboration/articles/21840.aspx]

  • Calling a new Browser Window from Web Dynpro Application - Empty Context

    Hello,
    I want to open a view in a new browser window, and followed the same way which is described in this thread:
    Open view in new browser window
    My first try was creating two applications, which refer to the same Component Controller. The opening of a new browser window is triggered by an action, which is called in the other application. As both applications have the same Component Controller, I thought, the context content has to be the same, but actually the context attributes are empty after opening of the new window.
    In my second try I created two applications with two different Component Controllers, mapped via embedded Interface Controller. The effect is the same - I have no context content in the view.
    Please, can anybody help me?
    Thank you in advance.
    Ilona Seifert

    I done something like this:
    [code]
    try {
    strURL =
         WDURLGenerator.getApplicationURL(
                        "$<b>PROJECT_PATH</b>$/$<b>PROJECT_NAME</b>$",
                                            "$<b>APPLIC_NAME</b>$");
    } catch (WDURLException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
    strURL += "?par1=";
    strURL +=  var1;
    strURL += "&par2=";
    strURL +=  var2;
    strURL += "&par3=";
    strURL +=  var3;
    [/code]
    and after i retrieve them:
    [code]
    Var1Value= WDWebContextAdapter.getWebContextAdapter().getRequestParameter("var1");
    [/code]

  • HTTP form post from Web Dynpro Java Application without opening new window

    Hi Experts,
    We are trying to submit form data to an external URL from Web Dynpro Java application. We are achieving this with the following piece of code.
      try
       strPrintContent="<html>"+
         "<head>"+
         "<script type=\"text/javascript\">"+   
         "function myfunc () "+
         "{"+
         "var frm = document.getElementById(\"paymentForm\");"+
         "frm.submit();"+
         "}"+
         "</script>"+
         "</head>"+
         "<body onLoad=myfunc()>"+
         "<form id=paymentForm  method=post action=\""+merchantURLPart+"\">"+
         "<INPUT type=hidden name=username value="+userName+">"+
         "<INPUT type=hidden name=pass value="+passWord+">"+
         "<INPUT type=hidden name=senderid value="+senderID+">"+    
         "<INPUT type=hidden name=dest_mobileno value="+mobile+">"+
         "<INPUT type=hidden name=message value='"+msg+"'>"+
         "<INPUT type=hidden name=response value="+response+">"+
         "</form>"+
         "</body>"+
         "</html>";    
      IWDWebResource webResource = WDWebResource.getWebResource(strPrintContent.getBytes(),WDWebResourceType.HTML);
      IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(webResource.getAbsoluteURL(),"WBSEDCL");
      window.show();
      catch(Exception e)
      wdComponentAPI.getMessageManager().reportException("Error : "+e.toString(),false);
    But it opens another window. We dont need that. We have to stay on the same window.  Please suggest what can be done.

    Hi,
    You can create a HTML file with the request post parameters and the external URL something like this:
    public java.lang.String GetRedirecturl( )
    // External URL
    String html = "<html><head></head><body onload=\"load()\"> " +
    "<form id=\"form1\" action=\"https://www.abc.com/xyz.jsp\" method=\"POST\">" +
    // Post Parameters
    "<INPUT TYPE=\"HIDDEN\" NAME=\"Param1\"VALUE=\""+Param1Value+"\">"+
    "<input name=\"sap-wd-resumeurl\" type=\"hidden\"/>" +
    "</form> " +
    "" +
    "<script>" +
    "function load(){" +
    "var loc = window.location.search.substring(1);" +
    "var queryString = loc.split(\"sap-wd-resumeurl=\");" +
    "if(queryString.length > 0)" +
    "{" +
    "var resumeURL = queryString[1].split(\"&\");" +
    "if(resumeURL.length >= 0)" +
    "{" +
    " document.forms['form1'].elements['sap-wd-resumeurl'].value= unescape(resumeURL[0])" +
    "}" +
    "}" +
    "document.getElementById('form1').submit();" +
    "}" +
    "</script>" +
    "</body> </html>";
    String redirectUrl = "";
    byte[] byteArrayHtmlData = null;
    try {
      byteArrayHtmlData = html.getBytes("UTF-8");
    } catch (UnsupportedEncodingException e) {
      wdComponentAPI.getMessageManager().reportException("Internal error occurred. Please try after some time",true);
    IWDResource htmlResource = WDResourceFactory.createCachedResource(new ByteArrayInputStream(byteArrayHtmlData), "Redirect.html", WDWebResourceType.HTML, true);
    redirectUrl = htmlResource.getUrl(WDFileDownloadBehaviour.AUTO.ordinal());
    return redirectUrl;
    Hope this will be helpful.
    Regards,
    Anurag

  • Can not open new blank tab window from file, new tab.In Tools/Options/Tabs ticked open new windo w in new tab?

    Can not open new blank tab window from file, new tab.In Tools/Options/Tabs I have ticked open new window in new tab?

    The Ask Toolbar is probably causing that in the Firefox 3.6.13 version. Disable that extension or un-install it.

  • How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??

    How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic??
    == This happened ==
    Every time Firefox opened

    Firefox can have multiple home pages if you wish. Each home page that will open when starting Firefox is separated by the "|" character.
    See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    To have new tabs open a specific web site, add one of the following extensions:
    http://sogame.awardspace.com/newtaburl/
    https://addons.mozilla.org/en-US/firefox/addon/777

  • Mail regularly open the new blank message window

    After Mail initial start the programm opens a new blank message window. When I try to close it I receive the message "Do you want to save it as a draft and work on it later?"
    The new blank message window appears regularly every 4-5 minutes. How can I fix it? And thanks in advance for response and help.

    Do you see the Outbox in Mail? Does it contain any messages?

  • Create a new folder in windows from SAP

    Hi,
    I can execute progrmas from sapusing the WS_EXECUTE function, but how can I crete a new folder in windows from SAP?.
    Thnaks

    Hi,
    I have a idea about this problem.
    Firstly, I made a batch file. The file is a text file, so you can create easily the file from the WS_DOWNLOAD function. The file include a command - md (folder name).
    Secondarily, I executed the batch file by the function 'WS_EXECUTE'.
    Finally, I deleted the temporary file by the WS_FILE_DELETE function.
    It's easy.
    If do you need the source, you should send a mail to me.
    The source is given you.
    Best regards,
    Don

  • Whenever I open a new tab or window the back arrow on the navigation bar doesn't work

    When I open a new tab or window the back arrow in the navigation bar isn't highlighted and doesn't work

    Do you have already visited more than one website in a tab if that happens?
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Problems using right click to open in new Tab or Window. Will not work. How do you solve this. Have v5.0 installed.

    I have the latest version of Firefox installed. Version 5.0.
    When searching on Google and use right-click to open in new tab or window. Keep getting blank tab.
    Can somebody advise how to solve this.
    Thank you.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the ''Safe mode'' start window.
    You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

  • How do i set firefox to open a new tab with a specified web page..?

    Ive just installed firefox 5, and when i open a new tab, it open with a blank page. My previous version of firefox opened with my most visited pages as thumbnails. Can i revert to this setup, or can i set firefox 5 to open a new tab with a specified web page e.g google news...?

    No this isnt the problem. I want it to open a new tab with Google Search page and not with the big showcase of all my other pages.

  • In Photoshop CS5 I have updated my raw-update that was suggested by my updatebutton in my photoshop. But I still can not open my new camera srw-files from my samsung nx300.

    In Photoshop CS5 I have updated my raw-update that was suggested by my updatebutton in my photoshop. But I still can not open my new camera srw-files from my samsung nx300.

    You cannot open Raw files from the Samsung NX300 in CS5.
    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications
    You need Adobe Camera Raw 7.4 or later which is only compatible with CS6 or later.
    Some choices:
    Upgrade to CS6
    Join the Cloud
    Join the CCPP
    Free option: download the free Adobe DNG converter, convert all Raw files from the NX300 to DNGs then edit the DNGs in CS5
    Photoshop Help | Digital Negative (DNG)

  • Using win xp32 firefox 22.0, clicking "new private window" opens a new NON-private window.

    seleecting "new private window" opens a new NON-private window.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

Maybe you are looking for

  • Rep-1401: formula name : Fatal Pl/SQL error occured

    Hi, I am using report builder 6.0 and recently came across a error while running the report. Rep-1401:<formula name> : Fatal Pl/SQL error occured. I created a formula column in the report. In that i have three local variable. f_val number := 0; s_val

  • How can I print from my windows 8 pc to my printer using my 2nd g express?

    I have an hp deskjet 1055. It's just a USB printer how can I print from windows to my printer connected to my 2gen airport express? If it only works with airprint printers than why is there belkin routers that can work with any printer?

  • KM and CM confuguration documents

    Hi, Can you tell me where to find the KM and CM confuguration documents.

  • Structure of table

    hi everybody, 1. how to describe the structure of the table without using describe keyword in isqlplus.... 2.Is there any possibilities to find the data in table without using the where clause; eg: select salary from employees where last_name='King';

  • I need to now the byteslength in ncRead

    I use nationals PCI CAN and had created a Read and Write Frame API in Visual c++. When I read the Can bus I got the hole message and everything is fine. The problem is that the can bus I read from send message with different byte lengths and I need t