Browser title needs to pick up tab title within a jspx page.

We are using dynamic tabs within a jspx. The requirement is that ,the browser title should pick the tab title when on-focus and the title should change when out-of-focus.We are not in favor of doing a full page refresh. Please advice.
Regards,
Sudhansu

Something like this:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
  <af:document title="#{b2.title}" id="d1" partialTriggers="sdi1 sdi2">
    <af:form id="f1">
      <af:panelTabbed id="pt1">
        <af:showDetailItem text="Tab 1" id="sdi1" disclosureListener="#{b2.dcl}"/>
        <af:showDetailItem text="Tab 2" id="sdi2" disclosureListener="#{b2.dcl}"/>
      </af:panelTabbed>
    </af:form>
  </af:document>
</f:view>bean:
package view;
import oracle.adf.view.rich.component.rich.layout.RichShowDetailItem;
import org.apache.myfaces.trinidad.event.DisclosureEvent;
public class b2
  private String _title;
  public b2()
    super();
  public String getTitle()
    return _title;
  public void setTitle(String t)
    _title = t;
  public void dcl(DisclosureEvent d)
    RichShowDetailItem di = (RichShowDetailItem) d.getComponent();
    setTitle(di.getText());
}

Similar Messages

  • Need Help with CommandLink Passing rowKeyStr to 2nd JSPX Page

    I've been working about 8 hours on something that should be simple - I have a databable displaying rows of data with a simple command link on one of the columns that will send the user to a 2nd page with a single record form showing detailed information for the selected row.
    The problems I'm having:
    * When I press the commandlink I do not get the correct record on the 2nd page
    * Also I'm receiving the following error: JBO-25020: View row of key oracle.jbo.Key[11 ] not found in SearchViewIterator
    When I use the af:tableselectone (selection) button to select the row first and then click the commandlink, the 2nd page DOES display the correct row, however I still receive the 25020 error above.
    Note I am using the same View Object and Iterator for both pages.
    I have compared my code against the SRDemo application and cannot see any differences - I was hoping someone could review my steps to see if I'm missing something (using JSF and ADF BC 10.1.3):
    Page 1 JSPX Code Snippet (commandLink / ActionListener):
    <af:commandLink actionListener="#{bindings.setCurrentRowWithKey.execute}"
    action="viewisp"
    text="setCurrentRowWithKey"
    disabled="#{!bindings.setCurrentRowWithKey.enabled}">
    <af:setActionListener from="#{row.rowKeyStr}"
    to="#{processScope.rowKeyStr}"/>
    </af:commandLink>
    Page 1 JSPX Page Definition File Snippet:
    <action id="setCurrentRowWithKey" IterBinding="SearchViewIterator"
    InstanceName="SearchDataControl.SearchView"
    DataControl="SearchDataControl" RequiresUpdateModel="false"
    Action="96">
    <NamedData NDName="rowKey" NDValue="#{row.rowKeyStr}"
    NDType="java.lang.String"/>
    </action>
    JSPX Page 2 (destination - single form) - Page Definition Snippet:
    <executables>
    <iterator id="SearchViewIterator" RangeSize="10" Binds="SearchView"
    DataControl="SearchDataControl"/>
    <invokeAction id="setCurrentRowWithKeyStr" Binds="setCurrentRowWithKey"
    RefreshCondition="#{adfFacesContext.postback==false}"/>
    </executables>
    <action id="setCurrentRowWithKey" IterBinding="SearchViewIterator"
    InstanceName="SearchDataControl.SearchView"
    DataControl="SearchDataControl" RequiresUpdateModel="false"
    Action="96">
    <NamedData NDName="rowKey" NDValue="#{processScope.rowKeyStr}"
    NDType="java.lang.String"/>
    </action>
    Finally - I did see some other posts related to the JBO-25020 error. The recommended Solution was to add the following code to the underlying ViewObjectImpl class:
    protected void create()
    {    setManageRowsByKey(true);
    super.create(); }
    This had no affect.
    thanks for any help.....
    ps what exactly is stored in the row.rowKeyStr? is it based on data columns in the row?

    Finally got this to work - thought I would post the solution that worked for me here in case anyone else runs into this:
    Note: Page#1 = Search Form - ADF parameter form and ADF read-only table (uses CommandLink to pass record to page#2)
    Page#2 = ADF read-only form - uses same VO and same iterator as page 1
    1. As Frank in his reply above, I don't need to use an ActionListener, but only use the commandlink for navigation. I did need also to set the current row when the user clicks the command link as described in the JDev help (Adding Tables | Setting the Current Object Using a Command Component) - this was a step I was missing before.
    2. NOW, here is where it gets Interesting - to avoid the issues of:
    a. page#2 not displaying the correct record selected, or, inconsistently displaying the correct record; and/or,
    b. receiving a "JBO-25020: View row of key oracle.jbo.Key[num] not found in xxIterator"
    I had to EITHER:
    A. Set the SyncMode for the DataControl in databindings.cpx = Batch (as described in      http://www.oracle.com/technology/products/jdev/tips/muench/batchmode/index.html)
    OR,
    B. Keep the SyncMode for the DataControl as Immediate, BUT override the following method in ViewObjImpl as described in some previous forum threads related to JBO-25020 error:
    protected void create()
    {     setManageRowsByKey(true);
    super.create(); }
    This is what I found (after much trial & error) worked for me - I'm curious to see if others have come to the same conclusions.
    thanks
    Tom

  • 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 override browser title

    Does anyone know how to change the browser title? I went straight into index and changed the contents of the <title> tag, but apparently IdM overides that somewhere. I've also tried setting "browserTitleProdNameOverride" in System Configuration.xml to true, and modified UI_BROWSER_TITLE_PROD_NAME_OVERRIDE in a custom catalog, but that hasn't done it. This should be such a simple change to make, but IdM is overriding the obvious solution...

    Customizing the Browser Title Bar
    You can now replace the product name string in the browser title bar with a
    localizable string of your choice. Note: These instructions where copied from the Sun Identity Manager 8.0 Technical Depoloyment Overview pdf in the chapter titlec "Private Labeling of Identity Manager". To the best of my knowledge this is the first pdf doc to include step 3. Prior releases failed to include step 3.
    *1.* Import the following XML file:
    Code Example 7-2 XML to Import
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Configuration PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Configuration name='AltMsgCatalog'>
    <Extension>
    <CustomCatalog id='AltMsgCatalog' enabled='true'>
    <MessageSet language='en' country='US'>
    <Msg id='UI_BROWSER_TITLE_PROD_NAME_OVERRIDE'>Browser Title Bar Text Here</Msg>
    </MessageSet>
    </CustomCatalog>
    </Extension>
    </Configuration>
    *2.* Using the Identity Manager IDE, load the System Configuration object for editing. Add the following line inside the
    <Configuration>
    <Extension>
    <Object>
    <Attribute name='customMessageCatalog' value='AltMsgCatalog'/>
    *3.* Also in the System Configuration object, you must change ui.web.browserTitleProdNameOverride to true.
    <Attribute name='browserTitleProdNameOverride'>
    <Boolean>true</Boolean>
    </Attribute>
    *&bull;4.* Save this change to the System Configuration object, and restart your application server.
    *&bull;5.* The part missing (Browser Title Bar on Admin and End User login pages).
    <ul><li>A. The Browser Title Bar on the Login Page does not change when the above configurations are made. However the Broswer Title Bar on every page after you log into IDM will display the value in the UI_BROWSER_TITLE_PROD_NAME_OVERRIDE. If you are wondering how to change the Browser Title Bar on the Admin and User Login Page read on.</li>
    <li>B. ReleaseConstants$ProductVersion is a class file you'll need to extract from idmcommon.jar. The contents of ReleaseConstants$ProductVersion are included below. We decided not to mess with an update, but in a nut shell you will need to update the getProductName() method. The suggestion is to set this value to the same value used by UI_BROWSER_TITLE_PROD_NAME_OVERRIDE. Compile and implement which are steps we chose not to attempt. If anyone goes through the compile and implementation steps please share.</li>
    </ul>
    package com.waveset.object;
    // Referenced classes of package com.waveset.object:
    // ReleaseConstants
    public static final class ReleaseConstants$ProductVersion extends ReleaseConstants$VersionImpl {
    public String getMajor()
    return "7";
    public String getMinor()
    return "0";
    public String getServicePack()
    return "0";
    public String getProductName()
    return "Identity Manager";
    public ReleaseConstants$ProductVersion()

  • Change Web Browser Title from Applet throw by JInitiator

    Hi,
    I'm developing an Oracle application with Oracle Form Builder and I would need to change browser title from my Applet, when a procedures throws when I press a button.
    Thanks a lot.

    If you use SeparateFrame=true, you can use WebUtil_SeparateFrame.SetTitle

  • How to remove the UPK inscription that appears in browser title

    Hello!
    how to remove the UPK inscription that appears in browser title (the browser tab). I want to leave only the module name appearing.
    thank you

    Hi,
    I haven't tried, but have a look at the toc.html - you will find this in the data folder under the Publishing Content --> PlayerPackage.
    I think that the tag you are looking for is <title></title>. Pop something inbetween and see if that sorts your issue out?
    Eg <title>TESTING</title>.
    You should find this close to the top of the html document.
    Hope it works for you.
    Regards,
    Greig

  • How to change the browser title Window or View Dynamically.

    Hi
    I have several application calling my applicationm and i need the browser that lauches the application to have different Titles on the Browser Title.
    How can I change the Title from the Window or View?
    Please advice.
    Thank you.
    Regards,
    Vinod

    The browser title gets pulled from the WD Application Description.  Currently there is no API to change the browser title from within WDA.  Next year in 7.02 we do add such an API.  Here is an example of what will be possible in 7.02:
    data l_window_title type string.
      case lv_transaction_type.
      when wd_assist->create_mode.
      l_window_title = `Create Sales Order`.
      when wd_assist->display_mode.
      l_window_title = `Display Sales Order: ` && so_id.
      when wd_assist->change_mode.
      l_window_title = `Change Sales Order: ` && so_id.
      endcase.
      wd_this->wd_get_api( )->get_component( )->get_application( )->set_window_title( l_window_title ).
    Setting the title on a View is easier.  You can just use a Tray or Group UI element as the root of your view and set the title property of the UI element dynamically by context binding to the property.

  • How to change/set the browser title from web forms (XP platform with SP2)

    I am running Form9i, I have set the browser windows title from Web Forms dynamically by using following method. However, when my PC has changed to XP, the function seems not work. Does anybody have same problem and how to solve it? Any suggestions would be appreciated.
    Add the Javascript code to your baseHTML file. For example,
    if you are using the basejini.htm:
    <HEAD><TITLE>%pageTitle%</TITLE>
    <script language="javascript1.2" type="text/javascript1.2">
    function Change(a) {    document.title=a;    } </script>
    </HEAD>
    In web Forms , call the javascript function with WEB.SHOW_DOCUMENT built.
    For Example the following code set the browser title with username . web.show_document('javascript:Change('||'"'|| get_application_property(USERNAME)||'"'||')','_self');
    Best Regards,
    Bowie

    Dear Frank,
    Thanks for your reply. Can you tell me in detail which built-in function in Webutil can set value in browser title ?
    Btw, is it possible for me to set parameter "separateFrame=True" in formsweb.cfg and set the form window title by using SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,v_msg_string)?
    Best Regards,
    Bowie

  • How to change browser title!?!

    Does anybody know how to change the browser title?!
    Using Dreamweaver 8 on a Mac.
    www.myvirtuemagazine.com on my site it is called "demo" how
    can I change this?
    Also does anybody know how to create a little logo in the URL
    bar at the start of the URL like Adobe has the signature red A and
    Google has the G, how do you create that!?

    In the <head> of your document --
    <title>This is the text that appears as the browser
    title</title>
    As for the icon:
    http://alt-web.com/favicons.shtml
    Virginia Carter
    Carolina Web Creations
    ======================
    www.carolinawebcreations.biz
    Alix86 wrote:
    > Does anybody know how to change the browser title?!
    >
    > Using Dreamweaver 8 on a Mac.
    >
    > www.myvirtuemagazine.com on my site it is called "demo"
    how can I change this?
    >
    > Also does anybody know how to create a little logo in
    the URL bar at the start
    > of the URL like Adobe has the signature red A and Google
    has the G, how do you
    > create that!?
    >
    >

  • Change browser title from framename

    Hello, I've created with robohelp 8 a WebHelp. The browser display's in the title bar the title of my project. Is it possible to change this title when you choose a topic? Like you click from the startpage (title=startpage) on topic A, the the browser title changes to A? I've searched the web for answers, but the ones I found wouldn't work in my Webhelp. For example there is a javascript, which you include in your topic HTML:
    <body OnLoad="parent.document.title=document.title"> Unfortunately this doesn't work.
    Does anybody know how to solve this?

    I have found the solution:
    Just put this code in your topic pages:
    <body onload="parent.parent.document.title=document.title">
    This works great. The only problem is that when you put this code in your masterpage's RoboHelp strips the code, so in you export such as webhelp the code has disappeared. The solution is to modify the page's afther exporting your webhelp. I use dreamweaver, this tool has an batch function for search and replace which makes it an easy job!
    I wil send Adobe a suggestion to make this function in the software, that would be easier.

  • How to change the browser title of standard SAP WD4A application - eRecruit

    Hi,
    I have a requirement to change browser title for standard SAP WD4A application hrrcf_a_candidate_registration. I know this value is used from application description filed.
    Current set up is 'Candidate Registration'. (WD Component HRRCF_C_REGISTER_UI)
    I tried to use enhancement framework technique and application customization/configuration - but was not successfull.
    I do not like the idea of changing the standard SAP object since it might be overwritten in future upgrade. And also I do not prefer to create z* copy of this application as well.
    Any ideas how to handle this request? Is dynamic modification of this property possible?
    Thanks for your feedback.
    Regards,
    Igor

    Hello,
    Did you try to change the description of the service in transaction SICF ?
    You can find the Webdynpro services under the tree /default_host/sap/bc/webdynpro/sap/.
    Regards,

  • Help.... trying to set the browser title for reports called from 9i form

    hello all
    I am attempting to call a 9i report from an oracle 9i form .I am using the following code
    repid := find_report_object('report5');
    SET_REPORT_OBJECT_PROPERTY
    SET_REPORT_OBJECT_PROPERTY (repid,REPORT_type,CACHE);
    SET_REPORT_OBJECT_PROPERTY (repid,REPORT_DESFORMAT,pdf);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'sandy4');
    v_rep := RUN_REPORT_OBJECT(repid,p1_id);
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://----.--------.com:8888/reports/rwservlet/getjobid'|| substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=sandy4,'_blank');
    .. and so on
    The reports RUNS FINE AND POPS UP AS A NEAT PDF internet explorer page !!!
    I WAS WONDERING IF THERE IS ANYWAY TO SET THE BROWSER TITLE OF THIS REPORT THAT POPS UP..
    DO I HAVE TO CHANGE SOME PROPERTY AT THE REPORT END
    OR CAN I SET IT DYNAMICALLY BY PASSING AS A PARAMETER
    FROM MY FORM
    I HAVE SEARCHED EVERYWHERE FOR THIS
    PL HELP
    I WILL REALLY APPRECIATE IT IF SOMONE CUD HELP ME WITH
    THIS
    THANK YOU
    SANDY

    Hi,
    It is possible to set the Document title for PDF output. Open the Reports Property Inspector, under PDF Document Taxonomy, you can set the Document title. But this does not show up in the browser when you open the document.
    thanks,
    Senthil

  • Browser title

    Hi. Am quite a beginner and self taught I'm afraid.
    I have used a Dreamweaver 8 template and the page title is
    not appearing in the browser window. Instead it gives the address
    where the files are stored with my internet provider.
    When the home page is first displayed the URL masking set up
    from the domain name provider works. After that, for each page
    navigated to, it reverts to the web hosting file names.
    I have changed the title name for each page but this makes no
    difference. I am wondering if there was a code pre-written into the
    template that I used as I have not had this problem with pages that
    I have created from new before although I have used framesets
    previously but not on this occasion.
    I am very ignorant re static pages versus dynamic content but
    prepared to learn if this is where the problem lies.
    Any advise appreciated.
    Help me
    direct

    On 11/13/06 1:31 PM, "SAPerrin" wrote:
    > Hi. Am quite a beginner and self taught I'm afraid.
    >
    > I have used a Dreamweaver 8 template and the page title
    is not appearing in
    > the browser window. Instead it gives the address where
    the files are stored
    > with my internet provider.
    >
    > When the home page is first displayed the URL masking
    set up from the domain
    > name provider works. After that, for each page navigated
    to, it reverts to the
    > web hosting file names.
    >
    > I have changed the title name for each page but this
    makes no difference. I am
    > wondering if there was a code pre-written into the
    template that I used as I
    > have not had this problem with pages that I have created
    from new before
    > although I have used framesets previously but not on
    this occasion.
    >
    > I am very ignorant re static pages versus dynamic
    content but prepared to
    > learn if this is where the problem lies.
    >
    > Any advise
    > appreciated.
    :brokenhear
    > t;
    > [email protected]
    >
    Your reference to URL masking suggests that either your host
    or your
    registrar forwards one domain to another via a hidden frame.
    If that's the
    case, your carefully written page titles will not show up.
    Additionally, such a configuration will hurt you in the
    search engines, as
    well, if that's a concern.
    Sonjay

  • Change Browser title

    Hi ,
    I want to change the browser title for my application. I
    have the deep linking turned on.
    <mx:Application pageTitle="Title for the Page"
    creationComplete="isReloaded();"
    verticalGap="0" width="100%" xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical"
    height="100%" >
    Thanks in advance.
    Josh

    "Rob Rusher" <[email protected]> wrote in message
    news:g6q9qv$cl2$[email protected]..
    > Because the Application class sets the pageTitle
    property but does not
    > make it
    > accessible via ActionScript, you must BrowserManager or
    SWFAddress.
    >
    > The BrowserManager function would look like this:
    > private function changeTitle():void
    > {
    > BrowserManager.getInstance().setTitle("My new title");
    > }
    >
    Could probably also use ExternalInterface to call js...

  • Can we change the Internet Explorer browse Title

    can we change not only the header area, but also the IE title?

    Hello Blake,
    changing the title of the browser title is not possible. It will have always the title of the WD applications name itself.
    Regards,
    Ulrich

Maybe you are looking for

  • Can't figure out how to connect router....

    I've tried for three days to hook up my wireless router.. I have a WRT54G and a Wireless G USB adapter and DSL modem, when I hook up the router like the setup tells me, I do not get internet access.. I have no clue what I am doing wrong, according to

  • Validation error in Tag Library at deploy time

    I am trying to deploy a JSF2 app to NW CE 7.1 EHP1. This application deploy's fine to Tomcat. When I deploy to SAP it gives an error: Error in parsing [META-INF/primefaces-i.tld] TLD file in the following [D:\usr\sap\NCX\J00\j2ee\cluster\apps\com.sap

  • Problem to create jar with images

    Hello I have a project, it's a frame with a panel that contains a image, I want to create a Jar, but I have to problems, if create a Jar and execute out the project folder, I can't see the images, if I use getClass().getResource, I have other problem

  • Active Directory on Windows 2012

    I have a domain security group in the domain 2012. I would want the group to be populated dynamically by all the users who are logged to the domain and dynamically, a user is removed from the group after logging out of the domain. Is this possible?

  • Dynamic port assignments

    hi all. if my question can be answered by reading TMG documentation, feel free to direct me there (i tried searching for the admin documentation but couldn't find it). can someone tell me what the purpose of dynamic port assignment is from endpoint -