How to set page title at runtime

Hi,
I'm doing a simple Visual web JFS application that has 2 pages.
Could you tell me how to set the second page title at runtime based on the input in the first page?
now I always have the 'http://localhost:8080/myApp/faces.Page1.jsp' on the tab when it goes to second page.
thanks!

I am not at all familiar with JSF, but if it was JSP, I'd use this.
[http://www.w3schools.com/TAGS/tag_title.asp]

Similar Messages

  • How to set page permission at runtime?

    Hi,
    I created a portal with several pages in a webcenter portal application.
    I have added most of the page in the pagehierarchy and I have set their required security permission.
    However, I forgot to add one page in my page hierarchy so what is happening is that the page is not being displayed.
    I actually wanted to users with anonymous role to be able to view this page.
    Now my question is, is there a way at runtime to set the page security of that page by using any tool such as console or em?
    I dont want to redeploy my application since it is already running
    I am just not sure how to set the page security at runtime.
    Thanks.
    Webcenter 11.1.1.6

    Neliel,
    You can use the Administration pages to do so.
    Go to the administration page, select the resources tab - Structure - Pages
    Highlight your page and select Set Access fromn the action menu.
    See also this section in the documentation.
    Kind regards,
    Rob

  • How can we set page title from resource bundle

    Hi friends ,
    how can we set page title from resource bundle,
    <%--
        Document   : MARC008Music
        Created on : Aug 4, 2008, 6:27:06 PM
        Author     : root
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
    <title>All Transaction Log Details </title>
          </head>
        <body>
            <f:view>
                <f:loadBundle basename="#{utility.resourceBundle}" var="rb"/>
                <f:loadBundle basename="#{utility.messageBundle}" var="mb"/>
                <h:form>
                </h:form>
            </f:view>
        </body>
    </html>i want set title( All Transaction Log Details ) from resource bundle.

    My problem is solved , Thanking you Sir.
    Thanks & Regards,
    Edukondalu Avula

  • How to set page numbers in scripts

    Hi,
        i want page numbers at bottom of page,
      please tell me how to set page numbers in scripts?

    Hi,
    In footer
    use this
    &PAGE& / &SAPSCRIPT-FORMPAGES&
    &PAGE& of &SAPSCRIPT-FORMPAGES&
    reward if it helps..
    regards,
    Omkar.

  • How to set page number & current date in sqlplus result

    how to set page number & current date in sqlplus result

    Hi,
    Use the TTITLE command. For example:
    SET     PAGESIZE     15
    TTITLE     LEFT  &_date     RIGHT  "Page:" FORMAT 999 sql.pno     SKIP 2
    SELECT     ROWNUM
    ,     ename
    FROM     scott.emp
    ;Output:
    12-Jan-2011                    Page:   1
        ROWNUM ENAME
             1 SMITH
             2 ALLEN
             3 WARD
             4 JONES
             5 MARTIN
             6 BLAKE
             7 CLARK
             8 SCOTT
             9 KING
            10 TURNER
    12-Jan-2011                    Page:   2
        ROWNUM ENAME
            11 ADAMS
            12 JAMES
            13 FORD
            14 MILLER 
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and the results you want from that data. If your question is based on commonly available tables, like those in the scott schema, then you don't have to post any sample data: just post the output.
    Explain how you get those results from that data.
    Always say what version of Oracle (and other relevant softward, SQL*Plus in this case) you're using.

  • How to set page margins in Numbers 3

    I just migrated from MS Excel after decades of use. I can't find out how to set page margins using the new Numbers 3 version. I believe I've exhausted all reference materials and the most relevant was an method in Numbers 8 & 9... both of which have a different top menu selection.  The answer is probably right in front of me and simple as it sometimes happens when learning new software...

    Hi caforestfire,
    There is no direct equivalent to page margins in Numbers 3.0. It's more oriented toward sharing on the web and on iPad screens than toward traditional printing.
    However, there are ways to achieve the effect of margins.  The idea is to first position your content (tables, charts, etc) on the canvas of a sheet, using rulers and guides if you want (you can drag the rulers onto the canvas to help in placement):
    Then you File>Print and in Print Preview fiddle with the slider until you get the white space you want around your content:
    Then click Print.
    For many purposes it works quite well. It's just a different approach from what we're used to in Excel, and the old Numbers 2.3.
    SG

  • How to set page break for Narrative view???

    Hi All,
    I have created a report in Narrative view using HTML code. I am stuck how to set page break based on a column in Narrative view. If anybody is aware of the issue pls let me know how to overcome this situation. Or if this can be done using HTML code itself pls let me know how to do it.
    Thanks & Regards
    Thenmozhi

    Hi Honey,
    I am not sure on ur requirement but you can achieve page break with a column using pivot view by dragging that column into section area and editing section properties to Insert Page break option.

  • Set page title dynamically

    Hi,
    I am trying to set page title programmatically.
    I am calling following in prerender method but it is not working
    this.getHead1().setTitle("This is new title");Any idea, what can I do achieve the same?
    Thanks.

    hi
    this can be done by goinig to design view ,, then make sure that no component of the page ( if there exixt ) is not selected
    then go to properties palette ,, and choose the smale button opposit TITLE and make data bidning with any object u want

  • Set page title for all pages

    Hi
    Can I set page title for all pages in project, by using filter or something else? Or the only way is to specify the name in each page?
    Michal

    Might be possible with filters, but that would be a rather expensive task. Just create an include file which you include in all pages. This way you also have a single point of maintenance.

  • How to set the title of pages created in Webcenter Spaces?

    Hi
    I need to set the title of the pages created in webcenter spaces. How can i do that? By default when i create the page in webcenter spaces the page name with which i created the page is coming up on the browser tab. But i want the browser title to be different from the page name. Is there a way to do this? I tried with using javascript and setting "document.title" but it works only partially. That is when the page is loading it shows the text that i have set using javascript but it doesnot remain persistent. As soon as the page loads it again resets back to the name of the page :(
    I also tried adding html markup on to the page in edit mode and tried giving in the <title> tag but it is not getting applied, as soon as i click on apply it just refreshes the page and my changes are gone.
    Please i need some help around this asap as it is critical.
    Thanks

    Thanks for the reply Jaap.
    It was really helpful. But i need further help on this.
    I need to change the browser title based on the tab selected. And here the tabs on spaces page is actually coming from a custom task flow. Any idea how can i achieve this? And there is no page refresh involved.
    Some help on this please.
    Thanks

  • How to set page direction to be right-to-left

    I need to change the direction of the page to be right to left
    how can i do that
    I build my page using ADF UIX components
    This is the source code of my page
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el"
    xmlns:myTemplate="selfservice">
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="mainTemplate.uit"/>
    </templates>
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document >
    <metaContainer>
    <!-- Set the page title -->
    <head title="General Manager"/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <myTemplate:SelfService title="General Manager">
    <contents/>
    <tabs/>
    <pageButtons/>
    <globalButtons/>
    <pageHeader/>
    <start/>
    <end/>
    <about/>
    <copyright/>
    <privacy/>
    <corporateBranding/>
    <productBranding/>
    </myTemplate:SelfService>
    <formValue name="${bindings.statetokenid}" value="${bindings.statetoken}" id="_uixState"/>
    <table model="${bindings.HrsVEmpPhonesView1}" id="HrsVEmpPhonesView13" partialRenderMode="multiple" partialTargets="_uixState" showAll="yes" width="900">
    <contents>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.HrsVEmpPhonesView1,'EmpNameAr')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.EmpNameAr}" columns="10" readOnly="true" onMouseOver="&quot;showTooltip(event,'This is a tooltip with a transparent shadow effect. Can you see the letters underneath the shadow?');return false&quot;"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.HrsVEmpPhonesView1,'JobDescr')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.JobDescr}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.HrsVEmpPhonesView1,'PhoneExt')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.PhoneExt}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.HrsVEmpPhonesView1,'CntCellPhone')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.CntCellPhone}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.HrsVEmpPhonesView1,'CntHomePhone')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.CntHomePhone}" columns="10" readOnly="true"/>
    </contents>
    </column>
    <column>
    <columnHeader>
    <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.HrsVEmpPhonesView1,'IaigcEmail')}"/>
    </columnHeader>
    <contents>
    <textInput model="${uix.current.IaigcEmail}" columns="10" readOnly="true" />
    </contents>
    </column>
    </contents>
    <tableSelection/>
    </table>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    <event name="goto sort" source="HrsVEmpPhonesView13">
    <invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
    <parameters>
    <parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.HrsVEmpPhonesView1Iterator}"/>
    <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
    </parameters>
    </invoke>
    </event>
    <event name="select" source="HrsVEmpPhonesView13">
    <set target="${bindings.HrsVEmpPhonesView1Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'HrsVEmpPhonesView13')}"/>
    </event>
    </handlers>
    </page>

    Dear Shay
    Thank You for your replay
    I've read this link Before but i want an example
    I'll be so grateful if you write me a sample code,because this is the first experience for me to do this.
    Thanks in advance

  • How to set window title using cfdocument format="FlashPaper" ?

    Does anyone know how to set the the browser window title when using:
    <cfdocument format="FlashPaper">
    #docContent#
    </cfdocument>
    The variable docContent is a fully formed html document, complete with <head> and <title> elements, yet <cfdocument> doesn't pick up the title I've specified. I'm wondering if anyone has done this before???
    Thanks!

    Yes, I tried that, but <cfdocument> replaces any content that I add. I cannot view the source for the page, but at least according to FireBug, when I view the page contents, I get:
    <html>
    <head>
    <title>print.cfm - print.cfm (application/x-shockwave-flash Object)</title>
    </head>
    <body marginwidth="0" marginheight="0">
    <embed width="100%" height="100%" type="plugin" src="http://127.0.0.1/tss/print.cfm?id=expeditions_staff&start=1" type="application/x-shockwave-flash">
    </body>
    </html>

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

  • How to set pages to export all doc's in PDF format as default

    Could anybody tell me how I can set pages to save/export all the documents produce in PDF format. I run a small plumbing company and like to send all my estimates in PDF.

    You can use Automator action –Launch AppleScript, insert following code into:
    set destF to (path to desktop folder)
    tell application id "com.apple.iWork.Pages"
      set fName to name of the front document as string
      set fName to text 1 thru -7 of fName
      set destLoc to ((destF as string) & fName & ".pdf")
      export front document to file destLoc as PDF
    end tell
    Select no input, you can limit this service for Pages only (not necessary), and save it as Service.
    In system Preferences you can now add shortcut for this action.
    Script always export front (active) document to PDF on your Desktop (overwrite existing!!).
    This could help: http://www.ostricher.com/2014/12/how-to-assign-keyboard-shortcuts-for-os-x-apps/

  • Setting Page Title Dynamically in OAF

    Hello All,
    I have a Requirement wherein i have to display a 'Welcome <UserName>' message at the top of a OAF page.
    I want to implement this using the 'Title' propery of the Page.
    Is there any way to set the Title of a Page Programatically(by checking the value of a VO/EO Attribute.)
    (OR)
    Is there any other way to implement this functionality.
    Any inputs on this will be really helpful.
    Thanks & Regards,
    Satya

    Hi satya,
    The same thred posted twicely,so pls close this to avoid confusion in searching thred's.
    oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean oapagelayoutbean = oapagecontext.getPageLayoutBean();
    oapagelayoutbean.setTitle("PageTitle");
    Regards
    Meher Irk

Maybe you are looking for

  • How do I import my photo library to iPhoto?

    I recently got a new mac and a new iPhone, so I imported my photos from iphoto which was my old camera roll and transfered it to my new iPhone. On my iPhone I now have three albums, Camera Roll and Photo Library and another album that is the same as

  • Error 2096 message

    Evening, Tried to load iTunes and QuickTime and keep getting error 2096 message re Quicktime failed to initialise. Have checked compatibility issues and all appears to be ok. Also run registry clean software and still receiving the same message . Hav

  • I think this is a bug with rendering a string to a graphics2d

    Hiya, The following lines of code create the rendering error I am experiencing, to which I have tested on several computers. BufferedImage bi=new BufferedImage(100,100,BufferedImage.TYPE_INT_ARGB); Graphics2D g2d=bi.createGraphics(); g2d.setColor(new

  • Using JavaFX directly in Java without scripting

    Group group = new Group(); group.set$translateX(this.translateX); group.set$translateY(this.translateY);How can I now set the content of the group for example a rectangle and a text? Has anybody an idea?

  • Difficulties adding 2D or 3D text to the scene.

    Hello! I have a 3D cube which I have created, and I've been able to add things to the scene such as spheres and dotted lines. I cannot, however, get any 2D or 3D text to show up. Here is some code I am using. Does this look correct?         Text2D te