Changing the Title of the Browser window dynamically in WDA

Hello All,
I have a window created in WDA where I am looking at the possibility of changing dynamically the title displayed on the Browser window. I am aware that this title is derived from the description of the application created for the WD component.
Is there any way to modify this title/description at any point in the flow?
Thanks & Regards,
Sharat.

>
Hagen Eck  wrote:
> Hi Sharat,
>
> if you're on NW 7.02 or 7.20 you can use method SET_WINDOW_TITLE of interface IF_WD_APPLICATION. In a View's method this looks like:
>
>  
DATA: lr_appl TYPE REF TO if_wd_application.
>
>   lr_appl = wd_comp_controller->wd_get_api( )->get_application( ).
>   lr_appl->set_window_title( 'This is an overwritten title text.' ).
> Hth,
> Hagen
Important to note to people who aren't SAP employees using this forum that NW 7.02 and 7.20 are not available yet. They are still within internal development at SAP. Ramp-Up for these releases are not scheduled to begin until Q4 2009 at the earliest.

Similar Messages

  • I want the title on the browser to change when one of the frames changes in the Frameset.

    I am using frames (please don't tell me off!) and PHP.
    I want the title on the browser to change when one of the
    frames changes in the Frameset.
    Normally the title of the browser comes from the Frameset,
    But I am sure I have seen websites where the title changes
    depending on one of the frames... how is this done?
    C

    Then don't use frames.
    > Normally the title of the browser comes from the
    Frameset, But I am sure I
    > have seen websites where the title changes depending on
    one of the
    > frames...
    > how is this done?
    Show us one and we'll tell you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "colinwalton" <[email protected]> wrote in
    message
    news:epuu1t$kgv$[email protected]..
    >I am using frames (please don't tell me off!) and PHP.
    >
    > I want the title on the browser to change when one of
    the frames changes
    > in
    > the Frameset.
    >
    > Normally the title of the browser comes from the
    Frameset, But I am sure I
    > have seen websites where the title changes depending on
    one of the
    > frames...
    > how is this done?
    >
    > C
    >

  • Changing the title of the Command Window

    How do i change the title of the command window form "C:\Programs\jdk1.2.1\bin..." etc to something more useful like "MyProgram"?
    Many thanks
    Cath

    What I amproposing is that if we all merge on the same chapter and examples then we can ask each other specific questions and all have the same benchmarrk and reference points!!
    I plan to advertize this on other lists and if we all use the same text then we are all the much further ahead instead of having questions from all sorts of text and nobody knowing what the other is doing and having completely different code and examples!!
    What do yu guys think?
    Personally, I am in chapter 8 just staring SWING. But I don't mind going back to the first part to help othere newbies (as long as we have the same text and the examples are from the text).
    For example, I have modified example 8-1, so that instead of just showing colors in the background, the buttons show a photo with text, shows text and changes the background, and will do something else ( don't know what yet)! But the whole thing is still based on the example code on page 323.
    I had some problems trying to figure how to do this... but if we all work on projects that are based on the code examples for the same text, we stand a better chance of all learning faster...
    So Yes, it is a study group using emails or chats...forum.
    The main difference is that if a person needs help we can all share code with them (NOT NECESSARILY DOING THE PROJECT...unless you wan to) but with the same book {Core Java2-Fundamentals or Core Java2- Advanced Programming} and with the help of at least one senior programmer that we have on the thread already ... with the otheres like you that want to join...all using the same book....Then no matter what project you are working on (from the book or work or school) we all have the same text to help each other and to reger each other to.
    Moreover, there never need to be another instance where the answer comes back: "read the tutorial" or check the docuemtation.... Those are good answers if you know what you are lloking for...but sometimes a person may need an example in working code.... and the tutorials don't answer specific questions where a person may not quite understand.
    So,
    why not stop by the New Study group that is going?...you can find us in forum New To Java Technology
    under the thread of "is anyone learning Java using the Sun Microsystems book...."
    In the meantime.... the person that was asking for hel here has not posted anything ... So I wonder if she realy wanted help?
    I will hang out here fopr another day or so and see if she answers my questions to her .. If nt then i will assume that this is a dead thread and I will no longer be here. You know where you can find me....
    phil

  • Display Server Name on the title of the WINDOW : Best Way to Implement

    our weblogic is deployed in a clustered environment(group of weblogic instances)(say for eg) Server01,Server02,Server03). Every time the request will go to any one of the weblogic instances. Now i need to display the server name on the title of the IE window.
    Web Application : - Server02(request 1)
    Web Application : - Server03(request 2)
    For that i've followed the following approach.
    <filter>
    <filter-name>AppFilter</filter-name>
    <filter-class>com.src.app.AppFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>AppFilter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    All request will go thro' the filter.
    In filter, dofilter method of AppFilter, set the server name as below.
    request.setAttribute("HOSTNAME", (" " + InetAddress.getLocalHost().getHostName()));
    In all jsp title,do the following.
    <title>WEB Application <%= request.getAttribute("HOSTNAME") %></title>
    This is working fine. I would like to know, if there's any better way of doing this?

    Thanks for all your replies
    user13118480,
    We have one admin server and 3 managed servers.
    3 managed servers are in different machines(sprd01,sprd02,sprd03).
    we have a big ip configured against these managed servers. we expose only the big ip to the end user.
    Based on load, the admin server will route the request to any one of the managed servers.
    Reason for displaying the server name on window
    The reason for displaying the Server Name (m/c name where managed server is running) on the window , is to help the developers to find out
    the current logs.
    log (app.log - logger file - log4j ) will go to sprd01,sprd02,sprd03.
    now if we display the servername on the window, then we can direct go the machine and look for the logs.
    otherwise,developer has to search for all in all the boxes.(sprd01,sprd02,sprd03)
    Questions:
    --Now i would like here more abt the Host HTTP header.
    *1. is my approach to retreive the host machine name is good? is there any other simple way to get the host name?*
    *2. as per your answer, are you asking me to get the host name from httpheader. request.getRemoteHost()?*
    *3. is there any way i can set the title of the browser window from filter itself instead of setting requestAttribute in filter and reading the same in*
    all the jsp's?
    4. Is there any better way to implement this requirement?
    baftos,
    Reason for using a filter.
    Tomorrow if i dont want to display the machine name in the window,
    then all i need to do , is to change the filter statement as follows, instead of changing all the jsp's.
    request.setAttribute("HOSTNAME", "");

  • How to set the title of an urxvt window?

    Hello,
    I have read the manpage and FAQ on the urxvt website, but my problem persists:
    When I try to set the title of an urxvt window, for example:
    $ urxvt -title test
    then the new window shows for a second the title "test" and then switches  to "username@hostname:~".
    Yes, I have
    case $TERM in
    xterm*|*rxvt*|Eterm|eterm|rxvt-unicode|urxvt)
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
    screen)
    PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
    esac
    in my .bashrc.
    But I think, the explicit command line option "-title" should break the .bashrc, right?
    The default setting by .bashrc is intentional, but in this specific case I would like to set the window title by hand.
    How can I do that?
    Last edited by indianahorst (2011-06-22 11:01:34)

    I would recommend that you not use the PROMPT_COMMAND to set your bash prompt at all.  Use the PS1 environment variable. By using PROMPT_COMMAND, you are invoking a subshell each time you hit return; which is most likely unnecessary.
    In fact, you are probably already setting PS1 in your .bashrc; and that is what is changing your window title.  You can set PS1 to a different value, and then it will not reset your window title with each command.
    Just set PS1 in your .bashrc to:
    PS1="[\u@\h \W]\$ "
    You can see a more complete list of the available \u, \H, etc. options here.
    If you do wish to reset the urxvt window title by setting PS1, do the following:
    PS1="[\u@\h \W]\$ "
    PS1="\[\e]2;\u \W\a\]$PS1"
    Edit:  As I look at this a little closer, I see that your PROMPT_COMMAND is indeed setting your window title.  You could change it to the following:
    PROMPT_COMMAND='echo -ne "${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}"'
    But I would still not use PROMPT_COMMAND and just set PS1 instead.
    Last edited by rockin turtle (2011-06-23 03:53:57)

  • I have add-ons (Convert to PDF, Edit in Contribute, Post to Blog) that use small icons, yet take up 2 rows of space at the top of my browser window. How do I move these items to display on 1 row?

    ''Problem: too much blank space at the top of browser window.''
    • The Convert to PDF icon takes up 1 entire row (predominately blank) of horizontal space
    • Edit in Contribute, Post to Blog are listed on a separate row, taking up 1 additional row (predominately blank) of horizontal space
    They both use small icons and titles, .5" wide each, are flushed to the left, yet take up 2 rows of blank space at the top of my browser window. How do I move these items to display on 1 row?

    Start Firefox in Safe Mode (https://support.mozilla.com/en-US/kb/Safe+Mode) and choose the 'Reset toolbars and controls option'. This will get you back to the stock icon set which you can then customize to your liking

  • 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

  • When using the internet, my web browser window goes blank

    It does this quite often:
    When using the internet, the web browser screen will go completly blank after 2 secs of loading.
    I will see the page, then after two seconds it is gone, and the web browser is completely white.
    Once, one page or tab does it, all the others start doing it.
    It is very frustrating, and happens quite often.
    Does this happen to anyone else, and does anyone know why or how to fix it??

    The next time you have the problem, note the exact times when it starts and ends: hour, minute, second.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Scroll back in the log to the time you noted above. Post any messages timestamped during that interval – the text, please, not a screenshot.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • Displaying the title of the open panel when attached to a window...?

    This is probably a really obvious question... but when displaying the open panel as a panel/sheet attached to another window - is there a way to display the panel's title, or some other way to prompt the user?
    For example, I have a preferences window that the user can click a variety of controls, several of which display the open panel... I'd like some way to remind the user which path to select (eg. "Select the path for BLAH").
    One way around it is to temporarily set the title of the window the open panel is attaching to, but I have several windows, and the panel may attach to any one of them... I'd rather not test for each possibility (because, for example, the nib for that window might not be loaded yet, etc.).
    Any ideas?

    Wow, I should probably get some sleep...
    The answer is obvious... after all, I need to know which window to attach the panel to.

  • Get the title of a specific window not part of your app

    For an app I am writing I need to get the name of the titles of the current programs running .
    Does anyone know of a way to accomplish this (get the title of a specific window not part of your app) in Java?
    Thank you very much.
    Erik

    Crossposted, obviously with no concern over wasting the time of would-be answerers.
    http://forum.java.sun.com/thread.jspa?threadID=686650

  • How to Change Date Format in the Title of the report.

    Hi Everyone,
    I want to change the Format of the Date in the title(Query run Date)taken by report through the variable "&Date" .
    The Format available is DD-MON-YY
    Desired Format is DD-MON-YYYY.
    Please let me know the same as early as possible.

    Hi NP,
    What I try to do is to reformat the default &date inserted into the Title for Discovere Plus and Viewer. When you edit the Title for the report, you can select the date from the Insert dropdown list to display the date when the report was run. The Date (shown &Date in the Title) has a default format of DD-MON-YY. As I have other date parameters displyed in the Title that have the format of DD-MON-YYYY specified by the user, I want to have the &Data in the same format. Please advise me how to achieve this.
    Thank yiou very much,
    J.K.

  • How can i change the title in the system form 'Sales Order Form'

    hai
    how can i change the title in the system form 'Sales Order Form'  and then how can i call this form?

    Hi Sanjoy,
    You find the form property like this :
    SAPbouiCOM.Form oForm = null;
    oForm = SBO_Application.Forms.Item(pVal.FormUID);
    oForm.Title = "New Title";
    Michael

  • On the most upper left of the Title Bar (the part where the x box is on the right side) where the Firefox icon should be (on the upper left corner) I have a printer icon instead. Why did that happen and how do I change it? Thanks for any help.

    On the most upper left of the Title Bar (the part where the x box is on the right side) where the Firefox icon should be (on the upper left corner) I have a printer icon instead. Why did that happen and how do I change it? Thanks for any help.

    I don't actually have an answer for you, but ditto on changing things that aren't broken. Drives me crazy!!

  • Title in new browser window

    Hello,
    I wonder if someone can reproduce that one.
    I'm using this code to open a new browser window
    <af:commandMenuItem text="blabla" useWindow="true" action="add"
    id="dialogTrigger" windowWidth="800" windowHeight="600" />In that new window, the jspx page includes a template.
    Here is the starting code of that page:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:trh="http://myfaces.apache.org/trinidad/html"
              xmlns:tr="http://myfaces.apache.org/trinidad">
        <jsp:directive.page contentType="text/html;"/>
      <f:view>
        <af:document title="blabla">
          <af:messages/>
          <af:form>
            <af:pageTemplate viewId="/WEB-INF/templates/popup.jspx">
    ...Every tag is closed at the end (double checked).
    The new browser window has for title "http://127.0.0.1:8988/app/index.jspx - Mozilla Firefox" but I think it should have "blabla - Mozilla Firefox".
    Correct me if I'm wrong?
    Also, the resulting HTML does not seem to be valid as an orphan closing tag </head> is found just after the opening <html> tag...

    Which tag library is referenced by your "afh" ?
    I can't see it in jdeveloper 11 ...
    According to the reference documentation for tag <af:document />:
    The UnifiedDocument creates each of the standard root elements of an HTML page: <html>, <body>, and <head>, but by abstracting away from those components, can be used in non-HTML pages as well. ...
    title
    String
    Yes
    the title of the document. (This title doesn't have to match the title on any contained panelPage. More on that:
    The generated HTML has a frameset included that points to the real page. Inside "onload" event, that frameset has a call to fixDialogTitle(). The embedded html page has the <title> defined by the <af:document title="fds">, so this works fine... so I guess the fixDialogTitle() function has to transfer the title from that embedded page to the parent one ?
    Message was edited by:
    Jean-Philippe Melanson

  • I made a duplicate copy of an imovie HD project and when I updated the titles on the copy, the video stuttered . I'm using Snow Leopard OSX. The length of the movie increased unexpedtedly too.

    I made a duplicate  of an imovie HD project so I could have two different versions. I tried making the copies both by using File> Duplicate and the Save As command in imovie.
    When I changed the title on the copy, the video stuttered when I played it back.  Also the overall length of the movie increased by about 6 seconds throwing off some sync even though the replacement title was exactly the same length in seconds and frames as the one I replaced.
    any thoughts how to fix this?
    I'm using OSX 10.6.8.
    thanks.

    *24 December 2009*
    *Dear Mac Users:*
    Hello. Thanks to AppleMan1958 for answering my question about how to edit an iMovie project
    on another computer.
    Here is a question related to the process of transferring the iMovie '09 project file from my friend's
    computer to an external drive so that I can edit that project in iMovie '09 on my MacBook Pro:
    How do I know if my Smart Disk FireLite portable external drive is formatted to MAC OS X Extended (journaled)? How I do format this Smart Disk FireLite USBFLB80C to MAC OS X Extended (journaled)?
    When I connect the Smart Disk FireLite to my MacBook Pro via USB, open iMovie '09, and select View
    Events By Disk or rather "Group Events By Disk," an icon for the FireLite external drive appears, but there is a yellow triangle with a black exclamation mark on the icon for the external drive. What does this "warning" mean? There are MP3s of music on the same external drive and they open just fine in iTunes. The one iMovie project file that is already on the drive will not open up in iMovie.
    So, how do I properly format this external drive in order to transfer an iMovie project file from my friend's computer so that I can edit it on my MacBook Pro using iMovie '09?
    Sincerely,
    Corey

Maybe you are looking for

  • Apple Releases Security Update 2006-004 (PowerPC and Intel)

    From Macfixit................ Apple has released Security Update 2006-004 for Mac OS X in both PowerPC and Intel versions. This update requires Mac OS X 10.4.7 for either PowerPC or Intel, Mac OS X 10.3.9 or Mac OS X 10.3.9 Server. This is the fourth

  • I have lost purchased music from itunes when I reset my ipod

    I recently reset my ipod due to a software issue. As my laptop with all my songs which I had purchased from itunes is no longer with me, i can not reload those songs. Will iTunes be able to resend those songs to me that I had bought from iTunes or at

  • Can't install ilife 04 on OS 10.2.8 nor 10.3

    ilife will not install on either of my MACs. The one with the SuperDrive is a G-4, OS 10.2.8 at 733 mhz, 256 mb of ram. The target Mac is a bigger and better G-4 with OS 10.3.something, but does not have a DVD drive. My goal is to just use Garage ban

  • A complaint

    How can we reach a email or a way to talk to a manager regarding a complaint or file a complaint on a rep. I have spoke with some reps and I would like to get this resolved but feel like I am being pushed to the side and that someone will eventually

  • Copy from AI to PS is pixelated

    Since about a week, when I copy from illustrator to photoshop, the image from Illustrator is very pixelated in PS. I must have changed something in my settings, but I have no clue what it could be. One way to solve the problem is to save the image an