Hiding URL in the title bar of external window

Experts -
Scenario:
On click of 'LinkToAction' element, we are opening up a pdf document (stored on portal content server)
in an external window, using:
CALL METHOD LO_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW
    EXPORTING
      URL            = LV_HOSTNAME
      TITLE          = 'My Title'                             "Does not work
      MODAL          = ABAP_FALSE
      HAS_MENUBAR    = ABAP_FALSE
      IS_RESIZABLE   = ABAP_TRUE
      HAS_SCROLLBARS = ABAP_TRUE
      HAS_STATUSBAR  = ABAP_FALSE
      HAS_TOOLBAR    = ABAP_FALSE
      HAS_LOCATION   = ABAP_FALSE
    RECEIVING
      WINDOW         = LO_WINDOW.
We have a requirement to hide the location bar and the title of the window (in which the PDF is displayed). We are able to hide the location bar but the URL still appears in the title bar.
We have tried the following code to set the title, but it is not working.
CALL METHOD LO_WINDOW->SET_WINDOW_TITLE
  EXPORTING
    TITLE  = 'My Title.                    "Does not work
  LO_WINDOW->OPEN( ).
Any help on how to achieve this will be appreciated.

This is not a web dynpro restriction - but one that has been brough about by the browser designers.
Because of the number of people falling to phishing attacks the designers of browser have all decided to always show the URL of any popup HTML windows. This stops malicious pop-ups from pretending to be something they are not and stealing user's data.
If the world were a nicer place you could have your pop-up without the URL - but it isn't and it's probably better that your users have a least a little help in identifying if they are being scammed.
Cheers,
Chris

Similar Messages

  • How to replace the icon in the title bar and minimized window

    I am not sure if this is a Swing question. But since nobody answered it in the Java Programming forum, let me place it here:
    I would like to set my own icon in the title bar and in the minimized window of my java application, replacing the java coffee cup icon.
    I am using:
    frame.setIconImage(new ImageIcon("image.gif").getImage())
    as was suggested previously in the Java Programming forum at:
    http://forum.java.sun.com/thread.jspa?forumID=31&threadID=5212059
    This does create the icon in both places. However, it only works when I run the program from JBuilder 2006. It doesn't work if I run the program from the .jar or the .exe file.
    How can I make it work for my .jar and .exe file?
    Please help! Thanks!

    It doesn't work if I run the program from the .jar...working example for a .jar
    import javax.swing.*;
    import java.awt.*;
    class Testing
      public void buildGUI()
        JFrame f = new JFrame();
        Image img;
        try
          java.net.URL url = new java.net.URL(getClass().getResource("Save.gif"), "Save.gif");//correct capitalization required
          if (url != null)
            img = javax.imageio.ImageIO.read(url);
            f.setIconImage(img);
        catch(Exception e){}//do nothing - default will display
        f.setSize(200,200);
        f.setLocationRelativeTo(null);
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.setVisible(true);
      public static void main(String[] args)
        SwingUtilities.invokeLater(new Runnable(){
          public void run(){
            new Testing().buildGUI();
    }

  • How add a new icon in the title bar?

    does anyone know how to change the default "java icon" that appears on the title bar of a Window (in an application Frame)?

    Hi,
    use the method public void setIconImage(Image) in Frame (inherited by JFrame).
    best regards

  • Removing title bar from popup window

    Hi ,
    I have created an popup window and I have to remove the title bar of that window completely(either to make the title bar invisible or to remove the title bar completely).
    I have tried the following method but of no use,
    1)window.removewwindowfeature.
    Please provide solutions.
    Thanks,
    Mahesh

    Hi Mahesh,
    Just try this out, it will resolve your issue.
    [WebDynpro Popup Window|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a04870c5-749b-2b10-06ba-d25515ef39e3]
    Regards,

  • Hiding the titleBar??? if it is the title bar

    I think it is the title bar not sure what it is called the computer teacher did not know the name nor could it be found. Umm yeah anyway I was wondering if in an awt Frame there was anyway to hide the title bar....
    I am meaning with the term title bar the bar with the title of your program the icon and the minimize full screen and exit button on it...
    Yeah just curious it would make my program look nicer if my popup window did not have this bar....
    thanks in advance

    The title bar of a window is the most obvious portion of any gui and the fact that someone that is suppose to be an instructor.. someone with knowledge to share and they are not sure of the most basic components of a GUI is shameful at best.
    And this shows in your lack of knowledge that a JFrame and a Frame are on a GUI component level the same.
    So either you have not red any documentation or your instructors knowledge is showing through you.
    The JFrame is a light weight component...... with
    all the same widnow decorations as a Frame...
    Thank U

  • Hiding the Title Bar

    is there any way to hide the title bar in the frame or dialog.
    This is because i dont want the user to close the window from the title bar by right clicking it or clicking the X.

    Both Frame and Dialog have the method below which removes the title bar and border. JFrame and JDialog inherit this method.
    public void setUndecorated(boolean undecorated)

  • Removing the title bar

    Hello,
    I saw in an earlier post that it is much easier to remove the title bar
    in 2.0 and that how to do it is in the documentation. Where would this
    be documented? All I've figured out how to do so far is make the title
    bar, title text, and banner bar be the same color as the background. So
    they look invisible, except there is an icon that shows up even though
    there is no reference to an icon.
    Thanks,
    Leila

    Hi Leila.
    If you edit your portlet through the admin tool - just don't specify a
    title bar url or delete the one that is there. This will get rid of the
    title bar.
    Cindy
    Leila Schneberger wrote:
    Hello,
    I saw in an earlier post that it is much easier to remove the title bar
    in 2.0 and that how to do it is in the documentation. Where would this
    be documented? All I've figured out how to do so far is make the title
    bar, title text, and banner bar be the same color as the background. So
    they look invisible, except there is an icon that shows up even though
    there is no reference to an icon.
    Thanks,
    Leila

  • Keep getting "invalid url" when searching title bar and built in google search.

    When I use the title bar, or the home page to search using google, i get "invalid url". If I manually type in www.yahoo.com, or any other site, everything works fine. Usually if I restart the computer, everything is normal again. This does no happen all the time, but once it starts, it wont go away. I even restarted in safe mode and then disabled all add ons and still nothing.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration 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.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can reset the browser.startup.homepage_override.mstone pref via the right-click context menu to the default on the about:config page and close and restart Firefox to restore the about:home page to its default.
    * Open the <b>about:config</b> page via the location bar
    * Type in the Filter bar: mstone
    * Right-click the browser.startup.homepage_override.mstone line and select: Reset
    * Close and restart Firefox

  • How do I un-hide the FULL url in the address bar?

    I WANT to be able to see ALL of the URL and address in the address bar! You changed it so the address is hidden or darkened without any option to see it clearly without highlighting it. Making vision impaired people blind to things such as what area of the site they are on and https:// vs http:// This is annoying and wrong. How do I change it back without a retro back to FF 3.6?

    Hiding of the http: part<br>
    <br>
    The protocol (http://) has been removed from the URL in the location bar for http:// pages only. https:// pages will still have the protocol. There's also a known bug where if you copy the URL after selecting it from the awesome bar dropdown (but before loading the page), it won't include the http:// part. Users can revert to the old behavior by setting '''browser.urlbar.trimURLs''' to '''false''' in '''about:config'''.<br>
    <br>
    Urlbar highlighting<br>
    <br>
    This is a feature in Firefox to highlight the domain in the URL bar. Other parts will become grey. You can change a preference to make the entire URL dark. Users can revert to the old behavior by setting '''browser.urlbar.formatting.enabled''' to '''false''' in '''about:config'''.<br>
    <br>
    To change this preference:<br>
    <br>
    type about:config in the Location/URL bar and press Enter.<br>
    if you see a warning, accept (promise to be careful)<br>
    Filter: browser.urlbar.formatting.enabled<br>
    in lower panel, double-click that item to toggle value to false<br>

  • After cloning to test server, in the title bar it is showing Production

    Dear All,
    In Oracle11i Apps i did the cloning from production to test server. Then i opened the URL(http://erpt:8000) of Test server, but in the title bar it is showing Oracle Applications Production.
    Is there any problem?
    How can i change it to show the test instead of procution?
    Please help me in this regard
    Thanks
    Mahi

    To change the Profile Option Site Name, do the following:
    - Use the System Administrator Responsibility
    - Go to Profile > System
    - This will open a new window
    - Make sure that Site is selected under Display
    - Search for "Site Name" under Profile
    - Click on Find
    - The value of the profile option will appear under Site
    - Type in the value you want to appear
    - Save
    - Log out, then Log in

  • Writing a specific text in the title bar of a content area

    Hallo,
    We have created several Content Areas which will be published as Webpage (NOT as Portlet to a Portal-Page! As example you can visit our Project Homepage http://pan.wsr.ac.at:7778/pls/portal30/url/FOLDER/ACCESSLAB/).
    Unfortunatly in the Title bar of the Browser there is always displayed the Title "Portal Content Area Builder".
    How can we change this Title to a more descriptive one for each specific Content Area respectively each Folder of a specific Content Area?
    Thanks,
    Christian

    The frame title is (typically) set in a native OS frame, which is not controlled by Java.
    Perhaps if you tell Java to let the L&F control the frame decorations it might work, but probably not, as it would probably just try to mimic what the OS does anyway, which is to not support HTML.
    So basically, you can't.

  • ITunes 9: "M:\" in the Title Bar

    Before upgrading to iTunes 9, the title bar on the main iTunes simply said, "iTunes". However, after upgrading to iTunes 9, the title bar text has something different: "M:\"
    I keep my iTunes library (and the associated database files) on a partition of an external hard drive, to which I assigned the drive letter M. (M = "music," get it?) Anyway, I just find it strange that the main iTunes window says "M:\". It would be totally confusing if you also had an Explorer window open to the M drive (the title bar of which would also show "M:\"). Is there any way to change the title bar back to showing "iTunes" before this "M:\" problem drives me crazy?

    This looks like an intended new feature of iTunes 9.
    The title shows the name of the folder containing your iTunes library. Presumably it is intedned to help people who use iTunes with different libraries to see which library they are currently using.
    If you don't like the feature, you need to use the feedback option on the iTunes help menu.
    I would guess that you can fix this if you don't like it by closing iTunes and then renaming the folder containing your library to iTunes. Then do a shift key start to tell iTunes the new location of the library.
    Hold down the shift key and start iTunes,. keep holding the shift key until your are promoted to choose a library. Navigate to you newly named iTunes folder and choose iTunes library.itl.

  • Can not copy a URL from the address bar/line

    Why is it proving so difficult for me to copy a URL from the address bar using Safari?  When I click on the link I want to copy, it does not highlight.  I have used Command L and Command C, and that works but there has to be a simpler way.  I also read that if I click the address bar once, then press the control key and click on it again that a menu would appear with cut, paste, copy.  That does happen, but all options are greyed out, and not selectable.  Another google search resulted in someone saying there was a button or arrow to click on and that this tool would copy the URL.
    The URL I am copying is very long, longer that the address bar window
    What Gives Here?

    Click the icon (favicon) to the left of the URL.
    That will select the entire URL.
    Command C will copy the URL.

  • Why is it that now, when I click on a link for a website I've saved, it does NOT show the URL in the address bar? I can't drag it to an email to share the link.

    Why is it that in these newer versions of Firefox (I have 21.0), when I open a link that I've saved, it does NOT display the URL in the address bar any more?
    I can't drag and drop the link into an email, and I can't see the actual web address I'm connected to for reference OR for security purposes. Why was this changed?
    It becomes necessary to reveal the properties of the URL link I've saved, using the Windows "Properties", then copying and pasting the URL into the Firefox address bar, before I can do anything with it.

    No changes have been made and no problem with extensions has interfered with the URL appearing in Firefox before. Only with the last few new versions of Firefox has this cropped up. Also, the link opens correctly - it just doesn't display the URL in the address bar, instead it just reads (in gray) "Search or enter address." How could another extension interfere if Firefox is the sole program associated with .htm, .html files?

  • How can I get back the title bar in Thunderbird 38?

    The title bar can be turned on and off in Firefox. In the current version of Thunderbird (31), the title bar is present by default and there is no option to turn it off. In the beta version (38), there is no title bar by default… but I can't believe that there's no way to get it back. So, where is this setting? I can't find it.

    I sure agree that the setting isn't easily discoverable, but that's too late for the 38.0 release given that string freezes went in effect already (the reason being that localizers have to translate all UI elements for their respective language).
    The respective [https://bugzilla.mozilla.org/show_bug.cgi?id=814571 bug report] has been up for more than two years, but thus far not much progress in terms of a solution acceptable by the developers. I don't know if the extension proposed in the last comment was ever developed and posted.

Maybe you are looking for