[internalization] cannot get the correct local lang

Hi there,
I'm trying to develop an application based on the Internalization tutorial.
I'm not getting any errors by the server, but the application doesn't change the local language.
In the HTTP monitor I've got the following header parameter sent by the browser:
accept-language it,it-it;q=0.8,en;q=0.5,en-us;q=0.3
In the faces-config.xml
<application>
    <locale-config>
      <default-locale>en</default-locale>
      <supported-locale>it</supported-locale>
    </locale-config>
  </application>In anycase I always get the en version.
Is there anybody who can give some suggestion on how to find and correct the problem?
Thanks in advance.
Alessandro Ilardo

? question ?
When the application is called for the first time by a browser, should it automatically detects the language? And consequently response with the correct language without displaying the default lang?

Similar Messages

  • [svn:fx-trunk] 7796: get the correct locales of batik and xerces jars into the build

    Revision: 7796
    Author:   [email protected]
    Date:     2009-06-12 13:01:48 -0700 (Fri, 12 Jun 2009)
    Log Message:
    get the correct locales of batik and xerces jars into the build
    bug: https://bugs.adobe.com/jira/browse/SDK-21565
    qa: i18n team (make sure they're all there)
    checkintests: pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21565
    Modified Paths:
        flex/sdk/trunk/build.xml

    Originally posted by: rosec.messagingdirect.com
    I'll look into it; I'm a bit under the gun here and can't easily upend
    my development environment at this time, but hopefully I can look into
    it early next week. Thanks for the pointer.
    Daniel Megert wrote:
    > Chris Rose wrote:
    >> I don't know if this has been asked before (and you'd be amazed at how
    >> hard it is to find specific information when your search query is
    >> "eclipse 100% cpu usage opening class files in a jar"!) but, well,
    >> that's what I'm getting:
    >>
    >> When I open a class file in the editor that is contained in a jar file
    >> anywhere on a Java project's classpath, one of my processor pegs at
    >> 100% usage for anywhere from 15-120 seconds and eclipse becomes
    >> non-responsive for that period of time, not even redrawing the UI.
    >>
    >> This occurs for jars as large as the jboss client jar and the weblogic
    >> 80Mb uber-jar and for jars as small as a 241kb library jar.
    >>
    >> Is there anything I can do to track down WHY this is happening? I end
    >> up having to trace into third party code a lot while debugging
    >> container behaviour and this plays merry havoc with the timeouts for
    >> remote calls, so I'm quite motivated to suss out why it's happening.
    >>
    >> Eclipse details are attached.
    > There was a bug regarding big JARs on the build path. Can you try
    > whether this still happens using 3.4 M7. If so, please file a bug report
    > with steps to reproduce. Also, please create some stack dumps while
    > waiting and attach them to the bug report.
    >
    > Dani
    Chris Rose
    Developer Planet Consulting Group
    (780) 577-8433
    [email protected]

  • Cannot get the correct data type in Oracle JDBC

    Dear ALL:
    I used JDBC ResultSetMetaData to get the column data type for Oracle Database. I created a table including 2 columns AAA, which is NUMBER type, BBB which is FLOAT type.
    However, I found a problem that either NUMBER or FLOAT data types are reported as NUMBER type in JDBC.
    IN SQL 2000, it is okay. SMALLINT, INT, TINYINT, etc..can be reported correctly.
    Can anybody tell me that what's wrong here? I will be very appreciated.

    hi,
    i guess its a bug which is fixed with 10i.
    Elango.

  • Cannot get the correct printouts

    I am using a Website called WebAssign.  It is for Math homework.
    Our answers are typed into a box and then we are told if the answer is correct or not by a green checkmark or a red X.
    When you right click inside the box, it says it is Adobe Flash Player 15.0.0.239.
    I see everything correctly on the screen - but when I try to print to my printer or print to a .pdf file, there simply is NO answer box.
    All you see is a green checkmark or a red X outside what used to be the answer box.
    The only way for me to get a print out of my work is to take individual screenshots.  With over 100 questions on each assignment this is maddening.
    I have tried with 2 different browsers and each time it is the same.

    Read Before Posting: How To Get A Useful Answer To Your Question

  • Cannot get the correct time on my

    I uploaded to iOS 7. My time is not coordinated with my time zone even though I have my locations on ?????
    It is only since I uploaded the new operating system. I have no problem with my iphone5

    Settings->General->Date and Time. Switch off Set Automatically then search for your time zone. Once you've set it manually switch "Set Automatically" back on. This worked for me, I hope it helps.

  • My IPad screen is frozen with a message stating that the IPad has not been backed up to the ICloud for 7 weeks, this is not correct.I cannot get the messageto clear and cannot access any of the other icons; is there an emergency reboot process?

    My IPad screen is frozen with a message stating that the IPad has not been backed up to the ICloud for 7 weeks, this is not correct. I cannot get the messageto clear and cannot access any of the other icons; is there an emergency reboot process?

    Have you tried resetting your iPad?
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10-15 seconds).
    No data will be lost.

  • I am using Numbers on my iPhone5 and cannot get the app to do a simple (SUM) calculation.  It shows the formula correctly in the cell, but all I get for my long list of numbers to add is 0.  How can I get this to work?

    I am using Numbers on my iPhone5 and cannot get the app to do a simple (SUM) calculation.  It shows the formula correctly in the cell, but all I get for my long list of numbers to add is 0.  How can I get this to work?

    Oaky, at least we got that far.  Next step is to determine if all those "numbers" are really numbers.  Changing the format to "number" doesn't necessarily change the string to a number. The string has to be in the form of a number.  Some may appear to you and me as numbers but will not turn into "numbers" when you change the formatting from Text to Number. Unless you've manually formatted the cells to be right justified, one way to tell if it is text or a number is the justification. Text will be justified to the left, numbers will be justified to the right.
    Here are some that will remain as strings:
    +123
    123 with a space after it.
    .123

  • I am correctly login Safari but since this afternoon I cannot get the creative cloud application to work. Help

    I am correctly login Safari but since this afternoon I cannot get the creative cloud application to work. Help

    I am correctly login Safari but since this afternoon I cannot get the creative cloud application to work. Help

  • I cannot get the subtitles to work no matter how many times I set it up and I am doing it correctly, what is wrong?

    I cannot get the subtitles to work no matter how many times I set it up and I am doing it correctly, what is wrong?

    if the material don't state there is subtitles in your language it don't include it
    and if will only show subtitles if the language you choose in the atv settings so if you have it set to french
    and the material only have subtitles in English and not french they will not display

  • TS3103 I have aol and cannot acesss my email after updating to osx 10.6. the help says that I need mail 4.6. I have 4.5.  How do I get the correct version?

    Ihave aol and cannot acesss my email after updating to osx 10.6. the help says that I need mail 4.6. I have 4.5.  How do I get the correct version?

    Run all software updates.
    http://support.apple.com/kb/TS4424

  • Firefox 13 and 14 will not install properly on my windows 7 starter. Also I cannot get the Scrapbook addon to work. Can you tell me why ?

    I have tried to install Firefox 13 and 14 on my netbook, running a Windows 7 starter OS. The installation begins to go smoothly from the setup.exe file; but after the installation seems complete, and I press the 'Open Firefox' button the firefox programme can be seen to start opening because it accumulates about 50mb of private bytes RAM on the windows task manager or on the 'process explorer' utility program by sysinternals. '''However the firefox screen/window never opens up and so firefox does not seem to be properly installed.'''' Also I have had problems with getting the Scrapbook" addon to install properly. I have another computer, a laptop, running XP Home, and I can get the Firefox 13 or 14 to install but it is on this other computer that I cannot get the 'Scrapook' addon to install properly; There is no notice on the Addon page saying the 'Scrapbook' addon does not work on Firefox 13 or 14, and the addon does install, but not properly, so it does not work.
    I have the old Firefox setup.exe files, and so I have managed to install an old version, firefox 3 or 4, on an external hard drive. I have successfully got this old firefox to work on the XP Home laptop from an external hard drive, and can successfully use the 'Scrapbook' addon in this way.
    I cannot understand why I have problems with Firefox 13 or 14. I think I first noticed the problem about 'Scrapbook' with Firefox 12.

    It seems your Mozilla installation is broken. Try the following steps to fully uninstall Mozilla Firefox:
    1. Uninstall Firefox as you would normally do.
    2. Open a command prompt as administrator.
    3. By using the cd and rd command, remove Firefox AppData and Roaming folders, for example:
    C:\Users\USERNAME> cd AppData
    C:\Users\USERNAME\AppData> cd Local
    C:\Users\USERNAME\AppData\Local> cd Mozilla
    C:\Users\USERNAME\AppData\Local\Mozilla> rd /s Firefox
    C:\Users\USERNAME\AppData\Local\Mozilla\*.* - Are you sure? (y/n) y
    C:\Users\USERNAME\AppData\Local\Mozilla> cd ..
    C:\Users\USERNAME\AppData\Local> cd ..
    C:\Users\USERNAME\AppData\> cd Roaming
    C:\Users\USERNAME\AppData\Roaming> cd Mozilla
    C:\Users\USERNAME\AppData\Roaming\Mozilla> rd /s Firefox
    C:\Users\USERNAME\AppData\Roaming\Mozilla\*.* - Are you sure (y/n) y
    C:\Users\USERNAME\AppData\Roaming\Mozilla > exit
    Remember to press Enter each time.
    4. After that, open a hard disk clean-up tool (such as CCleaner or Windows built-in) and remove all temporary files from your computer.
    5. Restart your computer. Download '''again''' the Firefox package from [http://www.mozilla.org/es-ES/download/?product=firefox-14.0.1&os=win&lang=es-ES Mozilla official servers] and try to install Firefox. If the problem persists maybe your computer has a problem or is infected with viruses.
    About the Scrapbook add-on, I could get it to work. It has no icon when docked to the toolbar, but you can anyway open it. Right-click a button on the toolbar, click Customize... find the Scrapbook icon, drag it to the bookmarks bar so you can see the icon and click on it to open it. Whenever you need to save a page, right-click that page and choose Save page.

  • I can't get the correct node (a real beginner)

    I have an XML file which looks like this:
    [code<lawyer>
         <Country>Singapore</Country>
         <Company>Allen & Gledhill</Company>
    </lawyer>
    <lawyer>
         <Country>Singapore</Country>
         <Company>Allen & Gledhill</Company>
    </lawyer>.
    </Lawyers>
    But I can't get the right node names and values.
    Here is my code:
    File file = new File("lawyers.xml");
    DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
    Document doc = builder.parse(file);
    NodeList nlLawyers = doc.getElementsByTagName("lawyer");
    for (int i = 0; i < nlLawyers.getLength(); i++) {
         Element elLawyer = (Element) nlLawyers.item(i);
         NodeList columns = elLawyer.getChildNodes();
         for (int j=0; j<columns.getLength(); j++) {
              Node col = columns.item(j);
              String colName = col.getNodeName();
              String colVal = col.getNodeValue();
              System.out.println(colName + ": " + colVal);
    }What I would like to print out would be something like this:
    Country: Singapore
    Company: Allen & GledhillBut I am getting extra nodes and cannot get the text values. Here is the output I am getting:
    #text:
    Country: null
    #text:
    Company: nullI don't understand this output at all. Please help me get the list of node names and values?
    Thank you.
    -Jeff

    It seems that the #text nodes represent the whitespace between the formal nodes. Also, the nodes that I want to extract have a NodeTypeValue of 1. Once I had determined that I had the correct node, I had to get its child node to get the text. Here is the final code:
    File file = new File("lawyers.xml");
    DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
    Document doc = builder.parse(file);
    NodeList nlLawyers = doc.getElementsByTagName("lawyer");
    for (int i = 0; i < nlLawyers.getLength(); i++) {
         lawyer = new Lawyer();
         Element elLawyer = (Element) nlLawyers.item(i);
         NodeList columns = elLawyer.getChildNodes();
         for (int j=0; j<columns.getLength(); j++) {
              Node col = columns.item(j);
              if (col.getNodeType() == 1) {
                   String strColumn = col.getNodeName();
                   Node txt = col.getFirstChild();
                   String strValue = txt.getNodeValue();
                   System.out.println(strColumn + ":\t" + strValue);                         }
         } // for each column
    } // for each lawyer

  • -1007f cannot get the Mac book air to reinstall, no drive. For disk and no connection

    -1007f cannot get the Mac book air to reinstall, no drive. For disk and no connection please help!!

    You can download the product from this link:
    <Download Photoshop Elements products | 13, 12, 11, 10>
    Your redemption code/Serial number will work with these downloaded products.
    Make sure you download the correct version for your operating system - Windows or Apple MAC
    Good luck.

  • I cannot get the Amazon wishlist button to install on my toolbar, I've tried 6 times, restarting my browser every time

    I have version 17.0 of firefox and cannot get the wishlist button to install

    Firefox 17.0 ? That's an old version, Firefox 24 is the latest version. <br />
    http://www.mozilla.com/en-US/firefox/all.html
    Looks like there's some security issues with that add-on. <br />
    http://blog.kotowicz.net/2013/07/jealous-of-prism-use-amazon-1-button.html
    Plus the user reviews of that extension - https://addons.mozilla.org/en-US/firefox/addon/add-to-amazon-wish-list-button/reviews/ - indicate that extension might not be working correctly as of late.

  • Deploy Monitoring reports Fail Cannot get the ReportServerWebService URL

    Hi, I am deploying the monitoring reports in a single host different to FE or Backend
    When I launch the wizard the installation fail with the message:
    > Deploying Monitoring Reports... This might take a few minutes.
    The Monitoring Database is using SQL instance "mendbsql3\ARCHLYNC2013".
    The data source is using SQL instance "(local)\ARCHLYNC2013".
    System.Runtime.InteropServices.COMException (0x800700A4)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr
    errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()System.Runtime.InteropServices.COMException (0x800700A4)  
    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()System.Runtime.InteropServices.COMException
    (0x800700A4)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()System.Runtime.InteropServices.COMException
    (0x800700A4)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()System.Runtime.InteropServices.COMException
    (0x800700A4)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()Cannot
    get the ReportServerWebService URL. Verify that Reporting Services is deployed and configured properly on the target SQL instance:"mendbsql3\ARCHLYNC2013", and that WMI is included on the exception list of firewall setting on the server that is running
    Reporting Services.
    I check the configuration of the reporting services configuration, all see OK. I probe the URL in the server that I want to configure like a monitoring reporter
    and I can explorer and administrate the Reporting Services. The firewall into the servers is off.
    Somebody else have this problem.
    THX.

    Hi Lapatinogo
    This is how I install Monitoring in my lab series.
    http://lyncme.co.uk/microsoft-lync-server-2013/the-complete-home-lync-lab-part-3-installing-lync-2013-monitoring-and-lync-edge-server/
    Navigate –> Lync Server –> Your Site –>
    Lync Server 2013 –> Standard Edition Front End Servers –>
    Your Server
    Right Click –> Edit Properties –> Scroll Down to Monitoring
    Tick Monitoring –> Press New –> Enter your
    SQL Server FQDN –> Specify your instance –> Untick
    This SQL instance is in mirroring relation (As stated in Part 1 you should already have a SQL Server with an instance available) –> Press
    OK
    Press OK –> Press Action –> Press
    Topology –> Press Publish
    Press Next
    Press Next –> This should complete successfully –> Press
    Finish
    Launch Lync Deployment Wizard
    Press Yes –> Click Deploy Monitoring Reports
    Press Next
    Press Specify a User Account and Password that has rights to the instance –> Press Next
    Press Specify User Group (I will be using the default group) –> Press
    Next
    Press Finish
    Launch the Lync Server Control Panel
    Login with an account that is apart of the CSAdministrator
    Click View Monitoring reports –> Click your SQL Server FQDN
    You should now see the below window   Successful deployment of Lync Monitoring

Maybe you are looking for