Change browser window title when separateFrame=false

We are running Web forms with separateFrame=false and want to change the window title.
Have tried using a javabean as provided by Frank Nimphius but that manipulates the top window frame only (i.e. the one that does not exist because we have only one frame). The built-in SET_WINDOW_PROPERTY ((FORMS_MDI_WINDOW, TITLE, 'my title') does not work
Using Webutil has been rejected by the client because of security/admin issues.
Anyone know of a solution?
Cheers,
Gary

Hi,
based on the following Javascript that works to set the title
<html>
<body onLoad="document.title='Hello'">
</body>
</html>
you can create a web.show_document() call like
web.show_document('javascript:document.title="hello"','_self');
If this doesn't work the first time, add a method to the base html file in Forms and call this method the same way
Frank

Similar Messages

  • 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

  • Can't change the document title when the browser is opened in dialog mode

    Hello experts,
    I'm working on a solution which involves opening up another .jspx page in dialog mode. I need to change the title of the dialog browser window dynamically when the user performs a specific action on the dialog page.
    Unfortunately, I can't get this to work. I have tried using JavaScript and had no luck. I tested this technique on a non-dialog page and it works fine. Please help.
    Here is the markup code for launching the dialog page:
    <af:activeCommandToolbarButton id="actbPreview"
    icon="/graphics/previewscreen_enabled.gif";
    text="Preview"
    action="dialog:weCreate"
    useWindow="true"
    windowHeight="620"
    windowWidth="1120"
    disabled="#{empty bindings.MapElemUnqId.inputValue}"
    launchListener="#{backing_weQuery.launchPreviewerListener}"
    binding="#{backing_weQuery.actbPreview}"
    returnListener="#{backing_weQuery.returnPreviewerListener}"
    clientComponent="true"
    windowModalityType="applicationModal"
    windowEmbedStyle="window"
    disabledIcon="/graphics/previewscreen_disabled.gif";/>
    On the dialog page, here is the markup and javascript for setting the browser window title:
    <af:commandButton text="title" id="cb10">
    <af:clientListener method="setWindowTitle"
    type="action"/>
    </af:commandButton>
    function setWindowTitle(actionEvent)
    actionEvent.cancel();
    var doc = AdfPage.PAGE.findComponent("d1");
    doc.setTitle("TEST");
    alert("Title="+doc.getTitle());
    }

    Thanks for your response.
    I tried that and I could not get it to work. Even though I can set pageFlowScope.pageTitle dynamically, the browser window title does not refresh (I tried to refresh via PPR and full post back).
    here is my code:
    public void setPageTitle(ActionEvent actionEvent)
    RequestContext requestContext = RequestContext.getCurrentInstance();
    Map pfs = requestContext.getPageFlowScope();
    pfs.put("pageTitle","TEST 2");
    RequestContext.getCurrentInstance().addPartialTarget(this.document);
    public void setPageTitle(ActionEvent actionEvent)
    RequestContext requestContext = RequestContext.getCurrentInstance();
    Map pfs = requestContext.getPageFlowScope();
    pfs.put("pageTitle","TEST 2");
    FacesContext context = FacesContext.getCurrentInstance();
    String currentView = context.getViewRoot().getViewId();
    ViewHandler vh = context.getApplication().getViewHandler();
    UIViewRoot x = vh.createView(context, currentView);
    x.setViewId(currentView);
    context.setViewRoot(x);
    }

  • 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

  • Changing the Window title

    Hi,
    I am using forms 10g version and like to know if there is any possible way I can change the window title from,
    'http://192.168.x.x - Oracle Application Server Forms Services - Microsoft Internet Explorer'
    to other wordings ?
    I have tried to use, SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,'New Title'); but not successful.
    My existing settings of formsweb.cfg are,
    [default]
    separateFrame=false
    [sepwin]
    separateFrame=True
    Thanks in advance.

    You're right - you'll use Javascript to make the change to the browser title, but you'll need a Java bean in your Form to make the call to that Javascript. I've posted some example code in an earlier thread on how to call Javascript from a Forms bean item:
    Re: How can a Javabean call Javascript function of the basejpi.html??
    I used a Javascript include file to include the following Javascript function (among others) in the html page that hosts the applet i.e. in our case, webutiljini.htm:
    function setWindowTitle(title)
    document.title=title;
    Hope that gives you the building blocks you need!
    James

  • I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Liv

    I can't open mail on Hotmail from Firefox. I can from Safari. I can open the Hotmail account page and it is complete w/ my new messages, but when I go to open them I get this messeage..."Please refresh your browser window. When you access your Windows Live Hotmail account from more than one computer, we ask you to sign in again to help keep your account private and secure. " when I sign in again there is no change. in English
    == URL of affected sites ==
    http://http://sn135w.snt135.mail.live.com/default.aspx?n=2087215863
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    "Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    See http://kb.mozillazine.org/Clearing_the_cache and http://kb.mozillazine.org/Cookies

  • 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

  • How to Change the Windows Title in EP7.0

    Hi
    Can anyone provide some pointers on how to change the windows title bar in EP 6.0
    We would like to remove the words "SAP Netweaver Portal" from the title.
    I have found OSS note  695903 however this refers to EP6.0
    Thanks in advance.
    Ian

    Hi,
    For people who have no access to the note, here are the steps involved. The same steps are listed in the note :
    1) Logon to your portal with your user who has super_admin role.
    2) Go to the System Administration tab -> System Configuration tab.
    3) Go to the Service Configuration -> Central Configuration.
    4) Change the portal.html.head.title part. Do no forget to save the changes you made.
    5) Restart the j2ee server to be able to see the changes on the portal
    Cheers,
    Sunil

  • How do I change the image title when it is uploaded from iphoto to iweb. At the moment the image title is /shapeimage_1.png and I would like to put in something more relevant than just shapeimage?

    How do I change the image title when it is uploaded from iphoto to iweb. At the moment the image title is /shapeimage_2.png and I would like to put in something more relevant than just shapeimage_2?

    When you drag images from iPhoto to iWeb, iWeb retains the original filename.
    When you use a mask, iWeb creates a png file with the shapeimage name.
    So do not use a mask and crop your images before dropping them on the iWeb canvas.
    When you use an irregularly shaped mask, then png files are created. They have to be png because of the transparency of the shape.
    You can use a 3rd party application to create the png images yourself, and give them a proper name.
    Or use the published png files, rename them and drop them back onto the iWeb canvas, while first removing the previous images.

  • I can only open one Firefox browser window. When I click the firefox icon from desktop or taskbar to open up another browser window it does not open. I am ablt to open up new tabs within the one window.

    I can only open one Firefox browser window. When I click the firefox icon from desktop or taskbar to open up another browser window it does not open. I am ablt to open up new tabs within the one window.

    Have you tried: click Firefox button > New Tab > New Window '''''OR''''' CTRL+N '''''OR''''' File > New Window (if using the Menu Bar)
    Once open, Firefox locks the Profile that is in use and you can not open another window with that Firefox version and Profile combination using the Windows Desktop icon or the Windows Programs list.

  • How to change the Window Title on a per build spec basis?

    I would like to be able to make 4 "build specificiations" against the same Startup-VI and be able to have the Window Title different in each of the output executables.   I know how to change the Window Title for the VI itself, but for some reason, I don't see the ability to override this information in Source File Settings --> Customize VI Properties dialog of the build specification.    Is there perhaps a way to do this programattically with VI server?  Perhaps there is a way I can define a unique symbol on each of the build specs and then do a case statement in code to determine which title to display based on the symbol that was defined?
    Thanks,

    You can use the appropriately named Window Title property. In your project you can define conditional disable symbols (right-click on the project node and select Properties) and then use a conditional disable structure in your code. However, these symbols apply to the entire project, not to a specific executable. Thus, a better route would be to use the executable name (also accessible via a property), if possible, or some other distinction between the executables. What makes the executables different?

  • 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.

  • 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

  • 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

Maybe you are looking for

  • MSI 6600GT PCI-E or MSI K8N Neo4 Platinum ?

    Dear Sirs, I've just bought a MSI NX6600 TD GT 128MB PCI-E and Motherboard MSI K8N Neo4 Platinum. I Think that one of these is defective bacause WinXP can't work with MSI original drivers, MSI old drivers or Nvidia drivers. The system reboots. I thin

  • I tunes help needed please

    hi guys i am using itunes on my macbook with an external drive i thought i was pushing the ecject key but i was pushing the key under it it i pushed it a few times then i remembered that it removes tracks from my i tunes has it deleted the mp3s ?? or

  • Using MS Radius Server with WLC

    I'm currenlty running WLC version 4.1.171. For authentication I'm using Microsoft IAS. I was able to get this to work by using Web Authentication but I want to use 802.1x w/ PEAP. I've been researching this and most of the documents talk about ACS. I

  • Deploy Webdynpro ABAP application without logon portal

    We have a Webdynpro ABAP application bulit in ECC to deploy.  User wants to access the application via an URL on their webpage instead of logon SAP portal.  They do not want the application to show the portal header and navigation area. With the help

  • Java.io.FileNotFoundException

    Hello! I am getting this error "java.io.FileNotFoundException" when I try to run my program.I know that the file is there.The code seems to work fine in Eclipse but when I try to run it through dos then it gives me this error.I have already looked th