Open (ExternalWindow or something else) new BrowserWindow

Hello@all,
I have in a component two windows and I have stored a PDF File in src->mimes->Components--->"ComponentenPath".
In the View of the first Window, I have a LinkToAction. With the onAction I want to open the other Window in a new Browser-Window. In the View of the second window I have an Iframe with dataSource--->"PDFFile".
How can I open this window in a extra Browser-Window??
Thank you for help.
Best regards
Marcus

Hi,
    In the First View  :
  when the User clicks the LinkToAction Popup the window with the Pdf Form.
for eg :
   public void onActionShowPdfView(
          com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
   //@@begin onActionShowPdfView(ServerEvent)
   //get the repository content at runtime of the Web-Dynpro-
   // Window “PDFWindow”
   IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI
                               .getComponentInfo()
                               .findInWindows("PDFWindow");
   //create the “PDFWindow”
   IWDWindow window = wdComponentAPI.getWindowManager()
                               .createWindow( windowInfo, true);
   //set the WindowPosition on the screen
   window.setWindowPosition(300, 150);
   //and show the window
   window.open();
   // Save WindowInstance in Context
   wdContext.currentPopupElement().setWindowInstance(window);
   //@@end
Here the Window Instance  is the Context Attribute of type com.sap.tc.webdynpro. services.session.api.IWDWindow
belongs to the component Controller.
and this will be holding the window Instance.
Now In the second Pdf View , when we close the window the window instance is destroyed as .
IWDWindow window = 
           wdContext.currentPopupElement().getWindowInstance();
   window.destroy();
Thanks and Regards
Fazal B

Similar Messages

  • E2000 Opening NAT, and something else

    Hi all. My title is pretty self-explanatory - I'm looking to open the NAT. The network in this house was set up by someone a bit more computer savvy; unfortunately he's no longer available and I can't get his input on it.
    I'm trying to just follow a guide I found elsewhere. However, giving the IP address to a browser asks for a username and a password. I do not have these, and the defaults (admin as I understand) don't work. Solutions? I suspect the person who set it up used his own password, but that doesn't help now.
    My other problem is something that could be anything. I'm a gamer and this is why I want to open the NAT. That said - I've NEVER had connection problems of any sort beyond not being able to use a mic on the Xbox sometimes, even with a moderate NAT. Lately, however, I can't go five minutes without crippling lag. Any ideas on that would be appreciated.

    Okay Im having some serious issues, Ive followed the guide to the last word and every day i have to reset my router at least 10 times and repeat this process over and over until the darn thing works again. I cannot connect to my friends on live my connection is terrible and im always glitching out of games I am in S.O.S mode and this ship is quickly sinking and my frustration level is about to pop. If it helps im wired into my router but can also go wireless on my xbox 360.

  • After updating to IOS 6 last week end my I books do not open, is there something else I should do?

    After updating to IOS 6 last week end my I books do not open when touched is this a problem? What am I missing?
    Thanks

    nope.  I think the update erased the contacts.  The update was for an exchange calendar bug.  This may have affected my contacts.  I use windows mail version for vista.  It just seemed simple to read mail without setting up outlook.  So I guess ordinarily I would just get them off the computer thru itunes but without a program to sync to I guess they are gone.  Some are still there with phone numbers but I guess only facebook friends.  What a mess.  I guess they are all gone.  I had originally thought that they would be backed up.  Now I guess I am building two or three years of contacts again.  Wish I'd kept my old phone.  Would have been worth the money to just keep that as a back-up.

  • I'm trying download Firefox Sync. When I open it & tried to drag the icon into my application file, I get a message saying a newer version of Firefox exists & did I want to replace it. Should I replace my Firefox 5 or is there something else I can do?

    I am trying to activate Firefox on my Ipad. I saved the download file. When I opened it and tried to drag the icon into my application file, I got a pop-up message saying that a newer version of Firefox existed and did I want to replace it. Should I replace my Firefox 5 or is there something else I can do?
    I'm afraid I'll lose my browser.

    * Download a new copy of the Firefox program: http://www.mozilla.com/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install.
    * Install the new version that you have downloaded.
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • I cannot connect to the internet after switching providers.  I've changed the email address associated with the new account but am sure there is something else I need to change.  Can anyone help me?

    I cannot connect to the internet after switching providers.  I've changed the email address associated with the new account but am sure there is something else I need to change.   I have also changed the apple information as well including user name and password.  Can anyone help me?  (This is an ipad question).

    Apple ID: Changing your Apple ID
    http://support.apple.com/kb/ht5621
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    Apple ID: What to do after you change your Apple ID
    http://support.apple.com/kb/HT5796?viewlocale=en_US&locale=en_US
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627
    iOS: Changing the signed-in iTunes Store Apple ID Account
    http://support.apple.com/kb/ht1311
    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at
    http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are drooping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    iPad: Issues connecting to Wi-Fi networks
    http://support.apple.com/kb/ts3304
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.hmL
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Signal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    10 Ways to Boost Your Wireless Signal
    http://www.pcmag.com/article2/0,2817,2372811,00.asp
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Some Wi-Fi losses may stem from a problematic interaction between Wi-Fi and cellular data connections. Numerous users have found that turning off Cellular Data in Settings gets their Wi-Fi working again.
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Downloading a file would bring up an option to open the file or save it - for some reason now it just downloads straight to the download folder. Why? Problem with Firefox or something else?

    Downloading a file would normally bring up an option to open the file with the appropriate program or save it - for some reason now it just downloads straight to the download folder. Why? Problem with Firefox or something else? It's very frustrating - sometimes you want the file opened first so it can be discarded or saved to a different location.

    Hey. that's great! Thanks for posting back with the outcome.

  • How can I do mirroring of a screen from new iPad to hdtv using apple tv and still work on something else in my ipad

    How can I do mirroring of a screen from new iPad to hdtv using apple tv and still work on something else in my ipad

    You don't. Mirroring is duplicating your ipad screen on another projector - so you can't have another app going on your iPad without it also showing up on the projected image. Some apps are designed so that you see a different image in the iPad than the mirrored out display, but even then you're within the app itself.

  • I bought a new 5c and transferred from an old update from my iPhone 4.  The only issue I have is the name of my new phone.  How can I change it from Amyiphone4 to something else?

    I bought a new 5c and transferred from an old update from my iPhone 4.  The only issue I have is the name of my new phone.  How can I change it from Amyiphone4 to something else?

    settings - general - about - name - make the changes

  • Does anybody know if Windows 8 is causing a problem with iTunes?   Many songs on my old iPod are now missing in my iTunes library and I can't find them anywhere.  Also, I have a new iPod and am afraid of using it for fear of something else going wrong.

    Does anybody know if Windows 8 is causing a problem with iTunes?  Many songs on my old iPod are now missing in my iTunes library and I can't find them anywhere.  .  Also, I have a new iPod and am afraid of using it for fear of something else going wrong.

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • HT3523 I downloaded the 29.99 version of quick time and when i try to open up the  movie file it pulls up a black screen w the sound of the movie only. what is happening? I already paid for the download do i need to buy something else?

    I am having issues opening up files. So i installed the quicktime download for $29.99. I go into the file and open it, but all I get is a black screen with sound only. Do I have to download something else so I can open it with a picture? thanks-r

    Note that a QuickTime Pro key does not add any additional formats to those included in the free versions of QuickTime Player already available on your system. All a Pro key gives you is editing and export capabilities.
    Regards.

  • Do I need a more recent mac mini to use my iphone 4 with.  Im unable to download snow leopard because my mac mini is older. Do I need to get a new mac or is there something else i can do

    Do I need a more recent mac mini to use my iphone 4 with.  Im unable to download snow leopard because my mac mini is older. Do I need to get a new mac or is there something else i can do

    Get Leopard.
    System Requirements
    Apple ID (required for some features)
    Internet access6
    Syncing with iTunes on a Mac or PC requires:
    Mac: OS X v10.5.8 or later
    PC: Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
    iTunes 10.5 or later (free download fromwww.itunes.com/download)
    http://www.apple.com/iphone/specs.html

  • Hi there, I'm thinking of buying both a new MacBook Pro and a small 22 inch LED tv for my kitchen... what would I need to be able to use (wireless of course) the tv as a monitor for the new computer? Apple tv? Airport Express? something else? Thanks.

    Hi there, I'm thinking of buying both a new MacBook Pro and a small 22 inch LED tv for my kitchen... what would I need to be able to use (wireless of course) the tv as a monitor for the new computer? Apple tv? Airport Express? something else? Thanks.

    Hi a,
    http://www.mctiviausa.com/
    There has been "talk" on and off of Apple TV doing it (and people have done it with a hack), but I haven't really followed it.
    It would be a whole lot cheaper getting an adapter (as needed) and cable and simply pluggin it in when you're in the kitchen.

  • I have a Olympus C-3000 and it won't read in the new iphoto.  It reads in my old version on my older computer.  Is there a driver I need or something else?

    I have a Olympus C-3000 and it won't read in the new iphoto.  It reads in my old version on my older computer.  Is there a driver I need or something else?

    Yes, different computers, different OS's, as stated, does not work on any machine except PPC.
    Nothing in console logs.  Does not show up in USB under system profiler.
    Level 1 tech support.  "May be this" or "may be that", but all a waste of time unless someone has the actual camera and can independently verify my results.
    If it were just a matter of it happening on one machine that would be one thing.  The fact that it only does not work on Intel based machines (and thus Snow Leopard and Lion) it is a pretty good indicator that something is missing in the OS.

  • ITunes 11.1.1 won't open even after OS update.  Is there something ELSE I'm missing?

    After I updated my iTunes to 11.1.1, it wouldn't open.  I found something on these forums that had a link to an OS update to fix the problem.  Downloading and installing the OS update took nearly 24 hours, and iTunes still won't open.  Is there something else I'm missing? 

    first of all you want to back up all music files before you uninstall itunes. if mavericks wont let you uninstall itunes then right click on itunes in your applications folder, then get info, then go to the bottom and change all permissions to read and write. then close and try to uninstall and reinstall. if that doesnt work then this does :
    open apps, go to utilities, open terminal and cut and paste or type in these 3 commands, hitting return after each one.
    (first type) killall iTunes
    (then hit return)
    (then type) killall "iTunes Helper"
    (then hit return)
    (then type) sudo rm -rf /Applications/iTunes.app/
    (and hit return)
    after the last one you will be warned and asked to enter your password. do it.
    once completed you will see on your itunes icon with a ? shadow inside it.
    drag it off the dock and it goes poof.
    then download itunes from apple.
    if they wont let you download 11.1.5 itunes then use 10.7 Download it from Apple here.
    and then install and upgrade to 11.1.5 from there. this is the method i used when my itunes just bounced after installing mavericks. it takes only minutes and your itunes will be as right as rain. enjoy.

  • I had updated itunes and now have no songs when I open itunes, do I have to do something else?

    I had updated itunes and now have no songs when I open itunes, do I have to do something else?

    See Empty/corrupt iTunes library after upgrade/crash.
    tt2

Maybe you are looking for

  • WHEN-VALIDATE-ITEM in Jdev

    Hello , When I enter in the field Leave Days the value 5, I want the sysdate value to be inserted directly in the Leave begin Date field and the value sysdate + 5 inserted in the Leave end Date field and then i can modify those values. Can this be do

  • What is this file for

    in my home directory thera are a lot of file which are called .serverauth.xxx  like .serverauth.5549,.serverauth.5317  etc. what are their aims? if i delete them, it occurs any problem?

  • Text appears slower than typing

    Hello, not sure how to describe this so an initial search did not yield any answers. For a couple of days now whenever I type in a document the letters appear slowly, and not almost immediately as they usually do. There seems to be a time lag between

  • How can i make scan pdf file smaller

    how do i make a scan into PDF smaller

  • Employee responsible of contact or operation is changed on edit mode

    Hello, When i switch to edit mode on a contact or operation the employee responsible is automatically changed. I have been playing around with partner determination but It seems like standard behaviour if i look at note 1408051. Is any possible solut