Change the words in a JSF page

hello!
I have a problem. I need to change all the words of one page (Depending on the user that is on the session).
For example, where in my page I've the word 'User' I would have to have 'Car' and things like that.
Is there any tool to change words (or something like that) in JSF? Can I read all the final HTML just before is sended to my browser? Perhaps with de 'postRendered' atribute?
Thanks in advance!

You could have the field names defined on a backing bean.

Similar Messages

  • I use js change the sequence of options, JSF go through lifecycle, why?

    Hi,All
    When I use javascript change the sequence of options,
    JSF go through Restore View, Apply Request Value,
    Process Validations, Render Response four lifecycle. why?
    <f:view>
    <head>
    <script>
    function moveDown()
         var selObj = document.getElementById("org_rank:childOrgs");
         var index = selObj.selectedIndex;
         if (index == -1 || index >= selObj.options.length - 1)
         return;
         var selectedText = selObj.options[index].text;
         var selectedValue = selObj.options[index].value;
         selObj.options[index].text = selObj.options[index + 1].text;
         selObj.options[index].value = selObj.options[index + 1].value;
         selObj.options[index + 1].text = selectedText;
         selObj.options[index + 1].value = selectedValue;
         //selObj.options[index + 1].selected = true;
    </script>
    </head>
    <body>
    <h:form id="org_rank">
    <table align="center" border="1" cellpadding="0" cellspacing="0">
    <tr>
    <td align="middle" heigth="100" width="160">
    <h:selectOneListbox id="childOrgs" value="#{orgDelegate.curId}" style="height:100px;width:150px" >
    <f:selectItems id="orgNames" value="#{orgDelegate.orgNames}" />
    </h:selectOneListbox>
    </td>
    <td align="middle" width="80">
    <h:commandButton value="down" onclick="moveDown()" /><br><br>
    </td>
    </tr>
    </table>
    <h:messages styleClass="errorMessage" layout="table" showDetail="true" showSummary="false" />
    </h:form>
    </body>
    </f:view>

    When you say the text shrinks when you change the size of the window, do you mean in terms of making the window smaller / zooming out from the page so that for instance you can see more of the "page" that you're working on?
    If so then that's by design and is how it's always been. The view you see in Word is designed to represent what would appear on the page if you printed it, so relative to the page the text remains the same size. If you change the page so that you can see
    more of it, eg effectively zooming out, then the size of the text must shrink. It's no different to holding a physical document in front of you, if you move the paper further away from you so the page looks smaller, the text will as well.
    On the other hand if you mean when you make the window smaller, eg displaying less of the grey space on either side, that the page and text shrink then I don't know what you mean. Which version of Word are you using? I've tried with Word documents in Word
    2010 and Word 2013, and in both cases simply changing the size of the document window does nothing to the view of the document (other than make it impossible to read all the test on a line without scrolling if I go too far.

  • I write Adecco and it changes to Adduce, what do i do so it doen't change the word

    I am using the Pages programe, I write Adecco the name of the company and it  and it changes to Adduce, what do i do or where do go so it doen't change the word ?

    Select the word
    menu Edit > Spelling > Spelling…
    After that, the app will no longer flag this word.
    Searching for the keyword Spell, Spelling or even Check may bring every user to :
    but it seems that searching is really a tiring complicated task.
    Yvan KOENIG (VALLAURIS, France)  lundi 21 janvier 2011 15:24:21
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How to change the default Real-Time Collaboration page?

    Who can tell me how to change the default Real-Time Collaboration page?
    If I want to add my corporation logo in the top of the default page.How to do?
    Thanks!

    Thanks for your help.
    "Click the Sites tab to display all sites and their IDs for your system." But I clicked the sites tab ,it showed "http://hostname:7777/imtapp/app/home.uix". I could not find the siteID parameter from it. Why?
    How to get it from command?

  • How do I the word "Share" on my pages site where all the settings are located?  I use to have it.  Can I get it back?

    How do I get the word "Share" on mhy pages site whre all the settings are located across.  I use to have it but it is gone on my macbook.

    The "Share" button on the toolbar was for sharing documents via iWork.com (beta). That service was shut down last year so the button wouldn't do anything now. It seems that the Pages team removed it in one of the updates.

  • How do I change the default program to open Pages docs to the old (4.3) version instead of the new one (5.0)?

    How do I change the default program to open Pages docs to the old (4.3) version instead of the new one (5.0)? When I do what Apple said and go to a Pages file in finder and select "get info" then select "Pages 4.3" and "change all" it just defaults to the new one even though I'd selected the old one. Do I need to completely uninstall the new version of Pages or is there another work around because the new version of Pages comes dreadfully short of the features I need that are included in the old one?

    Eric Kraft wrote:
    HOWEVER, if you modified a document in 5.0, 4.3 can't open it. You'll have to use Time Machine to replace the modified version with an earlier version that was last modified in 4.3.
    Actually there is a workaround.
    If you open the file in Pages 5, it can then be exported on Pages 0.9 format to another folder. I had to do this as the document was only in iCloud and couldn't be recoverd by Time Machine.
    Worked for me!

  • How to get the initial state of JSF PAGE IN ORACLE ADF

    Hi everybody
    my Jdeveloper version is 12.1.3
    I'm building my JSF pages based on a template that has a navigation pane which contains command navigation items , every one of them (command navigation items) appears as a link at runtime and calls a JSF page , I wish to get the initial state for any page when leaving it then entering such page again , and I would like to know what is the suitable place to write the code to do this task.
    many thanks !

    Clear the cache by adding the following to each jsf page.
    <%
    response.setHeader("Cache-Control","no-cache"); 
    response.setHeader("Pragma","no-cache");
    %>

  • How do i change the format of a single page in pages 09?

    How do i change the format of a single page in pages 09?
    I want a page to be landscape within a portrait-format doc.

    Question asked and answered many times !
    Yvan KOENIG (VALLAURIS, France) jeudi 19 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    My iDisk is : http://public.me.com/koenigyvan
    Please :
    Search for questions similar to your own
    before submitting them to the community

  • How do you change the language to english in pages?

    how do u change the language to english in pages?

    Hello there cmkoko,
    From the Pages help menu,
    Each language has a different spelling dictionary. To make sure that the correct language is selected, select the text you want to work with, click Inspector in the toolbar, click the Text button, and then click More. Choose a language from the Language pop-up menu.
    Here is the link for it:
    Working with Spelling Suggestions
    https://help.apple.com/pages/mac/4.3/help/English.lproj/pgs/sl150bf0bb.html
    Take Care,
    Sterling

  • Why, when I try to do a search, does the system change the wording to another subject

    I ask for information on High voltage feed back from my KDL -46XBR9 TV into my cable box, causing damage to the cable box. I still need an answer on that problem, but the Sony search engine changes the wording to programing, widgets and other garbage, it will not search for what I ask. 

    I dislike technology on occasions... I shut down iTunes, plugged my iPad back in &amp; NOW it decides to sync!!! No error messages...and then it syncs my iPod with no problems as well!!! It seems that I can't start iTunes, play music &amp; then decide to sync the toys. I HAVE to just plug in the iPod/iPad and let it start up all by itself. How irritating! Thank you for responding!

  • How to change the ESS objects, iViews and Pages, translation in the portal?

    Hello everyone,
    I'd like to change the standard SAP translation for iView and Pages in the Portal level. Does anybody knows how to do this?
    My landscape is NW2004s and  ESS  for  ECC 6.0
    Regards
    Luciano

    you can change the standard SAP iViews and Pages using the Portal Content Translation feature of the Portal ( go to Content Administration->Portal Content Translation. Follow the instructions at
    http://help.sap.com/saphelp_nw04/helpdata/en/25/08174082fe1961e10000000a155106/frameset.htm
    all ESS iviews and pages have their content "ready for translation" and you can use the instructions above to translate that content.
    Tiberiu
    please award points if response was useful.

  • Is it possible to change the spell check dictionary in "pages for iPad" from Spanish to UK English?  The app was downloaded in Spain.

    Is it possible to change the spell check dictionary in “pages for iPad” from Spanish to UK English?  The app was purchased in Spain and I am living in spain temporarily

    Spell checking should be based on the keyboard layout that you've got selected in Settings > General > Keyboard > International Keyboards - if you have an English 'UK keyboard' selected then the spell checking should be English

  • How do you change the back ground of a page?

    This doesn't seem to be working. I go to the page, bring up the inspector, go to page > layout > choose color fill, then use the color wheel, but the background doesn't change. Anyone know what I'm doing wrong?

    If you want to change the background colour of a page, then you need to open the Inspector and go to Page and then Layout instead. If you do this you can change both the background colour of the page and the page colour itself, which can be two different things.
    Sometimes you need to double click for the colour to change.

  • Print multiples of the same image on one paper. I tried to change the layout to 9 per page, but it's only showing up and printing one per page, though it is the size i would like. But only one image is showing up as opposed to 9

    I'm trying to print multiples of the same image on one paper. I tried to change the layout to 9 per page, but it's only showing up and printing one per page, though it is the size i would like. But only one image is showing up as opposed to 9. HELP!!Version 7.0 (826.4)
    I'm using Preview Version 7

    Hello @kgingeri1, 
    Welcome to the HP forums.
    If you have sent a test print via ePrint, and experience this issue, i would call the Cloud Services department.
    If ePrint works fine, it is definitely a Google Cloud Print issue.
    Also, when you print from your android device, are you using Google Cloud print or the HP ePrint app?
    Please call our Cloud Services at 855-785-2777.
    If you live outside the US/Canada Region, please click the link below to get the support number for your region. http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    Hours:
    Mon-Fri. 8am - 11pm, Sat. 9am-8pm - EST
    Mon-Fri. 7am - 10pm, Sat. 8am-7pm - CST
    Mon-Fri. 6am - 9pm, Sat. 7am-6pm - MST
    Mon-Fri. 5am - 8pm, Sat. 6am-5pm - PST
    Aardvark1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!

  • Can you change the wording of a text that someone sent you ?

    my sister sent someone a text , they in turn showed me on their phone with her name/number at the top of the feed  to prove she said something to this person about this certain subject . She is denying everything in this text and said he altered it to show me what he wanted me to see . Can you change the wording on a text sent from someone in their feed with their name/number at the top of the feed? Does this make sense ? What I do know is , you can copy and paste and change the wording when sending that text to someone else , but he showed me his own phone with these incriminating texts.

    No you can't

Maybe you are looking for