Set browser window title in template page

Hi,
How I can set the window title in template page ?
I know how to do it in regular page:
<af:document id="d1" title="Dashboard">
But in template I don't have a document tag.
so I added this before the <af:form> :
<html>
<head>
<title> My title </title>
</head>
</html>
But the problem is that I want to insert in the title something like that:
title="#{generalPage.serverName}"
Any ideas how can i do it ?
Thanks

You don't set the title in the template, you set the title in the page that is based on the template.
There you will have the af:document tag.

Similar Messages

  • How to set browser window title from FPM ?

    How do I set brwoser window title at runtime in FPM ?
    Using IDR area objetc I can set only apllication are(ident area) title, not the browser window title. Browser window title is set statically from iView name of in portal, and PFCG contect if in NWBC client.
    But in my case, I want to set it at runtime, for eg. in case of Purchase Order window, I want to set it as 'Purchase Order:<PO number>
    Is there any API to set this?
    Thanks again,
    Hari
    Edited by: Hari Krishnan P on Jun 9, 2010 10:22 AM

    When you call it as external window you may pass the title. other than that i am afraid you are left with no choice.

  • How to set browser window title?

    Hello..
    Is there a way to change browser window title at runtime? I am using WD ABAP with FPM
    Please suggest an API.
    Thanks in Advance

    Hi Hari,
    For changing the application title you need to configure, which i assume u know and have configured.
    now you can use the following code to change the title.
      DATA lo_idr TYPE REF TO if_fpm_idr.
    get idr instance*
      lo_idr ?= cl_fpm_service_manager=>get_service( cl_fpm_service_manager=>gc_key_idr ).
      IF lo_idr IS NOT INITIAL.
        lo_idr->set_application_title(
          EXPORTING
            iv_title = lv_heading
            iv_title_tooltip = lv_heading ).
      ENDIF.
    where lv_heading is the new heading.
    for any other question on FPM post it in Floorplan Manager for WebDynpro Abap fourm
    Hope this will help you.
    Thanks & Regards,
    Arvind

  • Configuring the browser window title for an iWeb-created page?

    Hello all,
    How do you customize the text that appears in the browser window's title for an iWeb-created page? (e.g., at the top of the browser window where it says "Apple - Support - Discussions - etc."). I had assumed that the the name I designated for the page via the Inspector would be used as the browser window title, but instead iWeb is using the first line of text within the page itself.
    Thanks!

    You can do it with a HTML snippet with the following code:
    <script type='text/javascript'>
    parent.document.title = "name you want to appear at the top of the window";
    </script>
    It takes about a second or two to replace the original text as can be seen in this test page.
    Put the snippet box off somewhere where it won't overlap on any other element. It is invisible on the web page and in iWeb until you click on it. I had to do a Select All to find it just now to get the code.
    OT

  • Need to Remove the tabs group Title from browser window title

    When I use a saved tab group, which means I named that tab group in FF 5,''' the name of the tab group appears at the top of the browser along with the title of the web page I am viewing'''. Not good, I need to remove that tab group title from the browser window title, so I am only seeing the title of the webpage, and nothing from the tab group. How do I do that?
    thanks
    JSC

    You can add the site to the Pop-up Blocker Exceptions list in Options > Content > Block Pop-up Windows > Exceptions
    *See --> [https://support.mozilla.com/en-US/kb/Pop-up%20blocker#w_pop-up-blocker-settings Pop-up blocker-Pop-up blocker settings]
    '''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 need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *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 html edit/ enter browser-window-title

    how to html edit/ enter browser-window-title?
    harpo

    I think this is what you mean any way hope it helps.
    open the .html file in text edit for the page you want to change. then look for
    <title>whatever your title is</title>
    and just change the text whatever your title is for whatever you want. the line of code is located at the top of the page under the line that reads
    <meta name="Generator" content="iWeb 1.1.2" />
    not sure if this was the answer to your question but i hope its helped.
    steve

  • Open discoverer report in new browser window and without connections page

    Hi All,
    We are using Oracle 11g Discoverer 11.1.1.4.  Requirement is to open the discoverer report in a new browser window and without connections page.
    When we are running discoverer reports with this parameters we unwantedly get the connections page of the discoverer plus which we don't want.
    Went through the documentation given in this page and followed it still the issue persists, and i see couple of threads with my issue and no updates.
    This excerpt is from the documentation available in the link
    " _plus_popup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it "
    http://www.art2dec.com/documentation/docs/oas10g1012/linux/bi.1012/b13918/urlstart.htm
    and Here is what we use to invoke our reports.
    http://ipaddress:port/discoverer/plus?cn=cf_123&_plus_popup=TRUE&framedisplaystyle=EMBEDDED&wb=disc_wb_1
    Request the forum users from PRO discoverer group to help me out of this issue and expect a good discussion on this.
    Thanks in advance

    Closing the thread
    We were able to achieve by changing the browser settings in the IE 8 Browser. Disabled Tabbed browsing.

  • Changing the text "SAP Enterprise Portal 6.0" in the browser window title

    Hi,
    I want to change the standard browser window title from "SAP Enterprise Portal 6.0" to my clients company name.
    Has anyone done this before?
    Please help.
    Thanks in advance
    Padmamr

    Hi,
    To change the name of the browser:
    System Administration > System Configuration > Service Configuration > Portal Runtime > Central Configuration.
    Scroll down to: portal.html.head.title
    and change to required name of your company.
    Also, if you goto System Administration > System Configuration > UM Configuration > Direct Editing.
    Here you will find a host of UME controls for logging on and logging off the Portal. You can change images etc... from here.
    Remember to restart the Portal and components for changes to take affect.
    Cheers

  • Dynamic browser window title

    Dear all
    In my Forms10g deployment, I have a unique browser window title for each separate form (i.e. one value of pagetitle per form in formsweb.cfg).
    If form A calls form B, and then control returns to form A, is it possible to dynamically alter the browser window title, perhaps by referring to the called form's entry in formsweb.cfg?
    Many thanks in advance.

    Check out webutil for this.
    Regards
    Grant Ronald
    Forms Product Management

  • Conditionally opening a new browser window from a JSP page

    When the user clicks on a button in my JSP page, I'd like to launch a new browser and display certain things in that browser window while leaving the original browser window open. The new browser should only be displayed if certain conditions are met.
    My thought was to invoke a javascript method in 'onLoad' which would determine if the new window needs to be launched.
    This is kinda what my page looks like:
    <jsp:root version="1.2" ................>
        <jsp:directive.page import="java.util.*, com.test.Configuration" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
         <ui:body binding="#{Page1.body1}" id="body1" onLoad="launchWindow();">     
         </ui:body>
       </f:view>
       <script type="text/javascript">
            function launchWindow(){
             if (Configuration.openWindow()) {
              window.open("hello.jsp", "newWindow", 'toolbar,width=400,height=400');            
        </script>     
    </jsp:root>
    My problem is that the call to "Configuration.openWindow()" does not resolve correctly. If I remove that call and simply make a call to "window.open()" all works. But once I put the condition in, nothing happens. I do not see an exception in my browser window but a new browser window does not open.
    Is my syntax correct. Can I make a call to the static method 'openWindow()' in my class 'Configuration.java'.
    I posted this same query on the JSF forum but received now replies. My question is more suited to the JSP forum and hence I'm posting this question here.
    thanks,
    tsc

    I have made some changes so that I do not directly access the 'Configuration' class in my javascript.
    I have a hidden field on my form and when the user clicks the button, in my back bean, I set a value for the hidden field. In the javascript function 'launchWindow()' I check if a value has been set for the hidden field and if yes, I open a new window.
    <ui:body binding="#{Page1.body1}" id="body1" onLoad="launchWindow(document.forms[0]);">
    <h:inputText id="hiddenField" value="#{formBean.hiddenValue}" />
    <script type="text/javascript">
            function launchWindow(form){
                alert("in lw");
                var test = form["form1:hiddenField"].value;
                alert("got test");
                if (test !=  "")
                    window.open("hello.jsp", "newWindow", 'toolbar,width=400,height=400');            
                alert ("done test");
    </script>When my page is first loaded, the launchWindow() is called and all the alerts popup as expected.
    When I click on the button (the back bean sets the value on the hidden field), my page is reloaded but this time its blank.
    Any ideas as to why this maybe the case?
    thanks,
    tsc

  • Change a browser window title

    How do I add/change a browser window page title using iWeb?

    iWeb uses the textbox in the Header layer of an iWeb page as the title in the browserwindow.
    If the textbox in the Header is missing, iWeb uses a textbox down the page in the Content layer.
    If that textbox is also missing, it uses another textbox.
    If that fails it uses the pagename in the Sidebar.
    To replace a missing textbox in the Header, choose another theme and then change it back to the original one.
    Sometimes you may want a different text in the titlebar and not display it on the page itself. Or not display it at all.
    So use that textbox in the Header layer.
    Type your text.
    Do Command-T to open the font palette and make the font smaller (Or do Command--(minus)).
    Then select the textbox.
    In the Inspector choose T, click a color to open the color palette and drag the opacity slider to 0 (zero).
    Resize the textbox. You may want to change the height of the Header layer.
    Do Command-Shift-B to move the textbox to the back, possibly behind other objects.
    Next add a optional second textbox to the Header layer and use that one to display text on the page.
    If you want to move the textbox to the front again to make changes, but can't remember the location on the page, drag the area with the mouse to select the objects.
    Deselect objects you do not want to move forward by Command-dragging  the mouse over these objects.
    Next do Command-Shift-F to move the textbox to the front. Repeat the steps in reverse order to make the text visible.
    And here's a movie that show how to partially hide the title :
    http://www.wyodor.net/_Movies/SetWebpageTitle.html

  • How do I open a new FireFox browser window to the home page and url filled?

    win 7 64-bit, firefox 5 open new window no url. When I have firefox open and open a new browser window, the new window does not open on the home page and no url is present in the address field. If I click on the favicon in the address field, the url of the current page will automatically fill in. The forward and backward arrow buttons remain disabled. In addition, links opened in a new window cause a new browser window to open, but the linked to website is not displayed in the new windows. What is displayed is a new window completely blank with no url in the address bar. I tried to include troubleshooting information by clicking on the copy to clipboard, but apparently the character count was exceeded.

    I disabled all plug-ins and extensions. the problem has been resolved. Now I will enable each one individually to find out which one was the offender.

  • How to open a new browser window from a JSP page?

    Hi,
    I am picking up records from the database and displaying each record in a seperate text area field using the JSP code. I should be able to display the content ( available in the text area) in a seperate window if the user clicks on one icon.
    Is it possible to open a new browser window using JSP? If yes, how can I write information on the new browser window?
    Thanks in advance.

    Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

  • Set browser window size?

    Is it possible to set the browser window - specifically IE - when opening my form when using seperateFrame=false?
    I am developing a single window app that is lost in the IE window when it starts up. I would like to size the IE window in relation to my app when it opens.
    Also, can I display something other than the dark grey background surrounding my form - perhaps replace it with a nice jpg?
    Thanks
    Richard

    Richard,
    - only if you start the browser window from another using javascript (window.open()) you can define the size of the browser window.
    - set background = <image name> in the formsweb.cfg file
    Frank

  • How to read browser(window) title in jsp?

    Hi,
    I need to read/find window title in my jsp code. Is there any method/way using which I can find window title?
    I can read it in javascript using window.document.title but as we know that we can not use javascript inside jsp, I am not able to use this method.
    Any help will be appriciated.
    Rohit

    Is your decision based upon the title of the page you are generating or the title of the page you have just come from?
    In either case, basing logic off of a window title sounds like a potential for trouble to me.
    If you want to make a decision, then send a parameter for the web application to react to.
    You can't get the window.title of the previous page.
    You are generating the current page, so you should already KNOW what the title of that page is right? You just printed it!
    Potential alternatives which are roughly equivalent:
    request.getHeader("referer") gets the url of the page that sent you to this one
    request.getRequestURI gets the jsp being currently executed.
    request.getAttribute("javax.servlet.forward.request_uri") will get you the original uri that was requested (assuming the page has been forwarded)
    Cheers,
    evnafets

Maybe you are looking for