Are supported locales have to be explicitly stated?

I am a JSF newbie. I recently started reading Core JavaServer Faces and am coding the examples in the learning process.
I have downloaded Sun's JSF implementation (mojarra-1.2_12-b01-FCS) and was able to install/deploy successfully to Tomcat 6.
I created a few message resource bundles in English, French, and Russian.
I am able to display the messages correctly when changing the browser's locale.
However, it seems I have to explicitly state the supported locales in the faces-config.xml configuration file:
     <application>
          <resource-bundle>
               <base-name>com.tsf.i18n.messages</base-name>
               <var>msgs</var>
          </resource-bundle>
          <locale-config>
               <default-locale>en</default-locale>
               <supported-locale>fr</supported-locale>
               <supported-locale>ru</supported-locale>
          </locale-config>
     </application>
This was quite a surprise to me and initially I thought something I did was wrong, as only the English messages were displayed (I didn't specify the locale-config at all). I have worked with JSP and struts before and I don't ever remember having to explicitly state the supported locales.
My question is whether the locale has to be explicitly stated?

As far I feel the tense in his question, his question was rather why (not whether) they have to be stated explicitly.
Well, I don't know it either. It is indeed a bit superfluous.

Similar Messages

  • Query about vWLC's limitation of not supporting Local mode APs

    Hi,
    I was reading about virtual WLCs and came to know about the limitation that vWLCs don't support APs in local mode. I have few queries about the limitation,
    Is this limitation to ensure that all the traffic is not tunneled back to the vWLC and in effect, the ESXi host and not to create a bottleneck?
    I was wondering if I can use a vWLC (installed at local site) for our smaller branch offices, say with 10-15 APs, with central switching and central auth rather than having a hardware WLC? Is it supported? Will it logically behave as local mode or would it choke the network by tunneling all the traffic back to the ESxi host? Would there be any impact for the end users? Or should I use vWLC with local switching central auth?
    Thanks,
    Utkarsh

    Hi,
    FlexConnect Mode: Central and Local Switching. Only FlexConnect Central and Local Switching APs are supported, Local Mode AP will only join the controller but will not associate the clients.
    So once AP joins the controller we can change the mode from Local mode to Flexconnect mode.

  • Cannot load Runtime engine verion 7.0, only 8.0 and later versions are supported

    Hi,
    I am new to using third party labview drivers. I have a labview driver for Chroma 63600 loads that I want to use in TestStand 2012.
    However when I load the vi. I get an error 'cannot load Runtime engine verion 7.0, only 8.0 and later versions are supported'
    I have Labview Runtime Engine version 7.0 Installed on my Windows 7 machine.
    Could anyone please let me know, How I could resolve this issue?
    Please see attached driver for Chroma Loads
    Solved!
    Go to Solution.
    Attachments:
    chr63600_LabView_V11.zip ‏866 KB

    To avoid more confuison,Here is the scenario,
    The version that was on the driver attached is from the  driver manufacturer.
    I do not have any version of labview INSTALLED on my system. I am using the driver in Test Stand 2012 using a labview adapter.
    I make sure I match the VI version and the run time engine version on TestStand 2012 to load the VI.
    But for this specific driver, I was not successful in loading the VI at all.
    As I understood that only 8.0 OR LATER are supported on TS 2012, I have asked to upconvert the driver to work with 8.2.1 Labview runtime engine.
    I have now got a.LLB file of the driver  mass compiled in Labview 2012 from discussion boards( and also attached here).  I have tried the mass compiled LLB file on TS2012 but still have issues loading the VI as it moans about different version of SUB VIs.
    However I am still trying to fix this version incomaptibilies. Any help would be much appreciated

  • What Raw camera files are supported by Aperture Ver 3.6.  I have tried to file a list of compatible camera models, but as yet can't find one.

    What Raw camera files are supported by Aperture Ver 3.6.  I have tried to file a list of compatible camera models, but as yet can't find one.  My OS is OS X Yosemite 10.10.1.  I have recently bought a Canon 7D MkII and have found Adobe Lightroom does not as yet support the 7D MkII.  So I though Aperture may support the 7D MkII because Yosemite 10.10.1 now does.

    Hi Folk,
    I just found the answer to my question.  Yes it is supported with OS X Yosemite 10.10.1.  See the link below and the ***** Note at the bottom of the list.
    http://www.apple.com/aperture/specs/raw.html

  • Recently downloaded a trial version of CC and when trying to use the Adjustment Brush in ACR it brings up the message 'All the local adjustment controls are set to have no effect on the image'.  I've downloaded this as an update to CS5 on my new i Mac.  W

    Recently downloaded a trial version of CC and when trying to use the Adjustment Brush in ACR it brings up the message 'All the local adjustment controls are set to have no effect on the image'. I've downloaded this as an update to CS5 on my new i Mac. Would appreciate suggestions to remedy this. Rhonda

    I think it means "the sliders are all 0 so painting adjustments with this brush won't change anything."  In other words, move one of the sliders to a non-zero position, for example Exposure from 0 to 1.0, and then see what happens.  You can edit the brush and change it to do something other than Exposure +1.

  • There are two iMacs connected through same router in my house but one refuses to login to facebook and other logged in sites. local techies are bemused, I have just reinstalled OSX and still have the problem. Login page recycles and no errors reported.

    There are two iMacs connected through same router in my house but one refuses to login to facebook and other logged in sites. Local techies are bemused, I have just reinstalled OSX and still have the problem. Login page recycles, I get no further and no errors reported. Safari, Opera and Firefox. Deleted cookies and chain but still no action.

    If you have not already done so, read the router's user manual troubleshooting section and/or contact its customer service department/forums. 
    If still having problems, post back w/details of all you have tried to resolve the problems along w/the troubleshooting solutions that the "local techies" had you try.
     

  • What video files are supported by iMovie 10.0.6?  I have to somehow convert .rcproject files to something that iMovie will accept but I don't know what kind of format to change to.

    What video files are supported by iMovie 10.0.6?  What is the best way to allow iMovie 10.0.6 accept my .rcproject movies?

    Hey Sioux Falls,
    If you are looking for information on converting or updating older iMovie projects to iMovie 10, you may find the following article helpful:
    Update projects and events from previous versions of iMovie in iMovie (2014) - Apple Support
    Note: To clarify, a .rcproject file generally only contains links and references to movie clips and effects that would be part of an iMovie project; it usually does not contain any actual video.
    Cheers,
    - Brenden

  • How can I get a list of apps which are supported on ipod touch model ma623zo?

    How can I get a list of apps which are supported on ipod touch model ma623zo?
    It's about 6 years old I think.
    I have put the latest IOS on there (currently 3.1.3 (7E18)).
    I download apps from the app store but they often fail to launch. I assume they're incompatible.
    Is there a way to check which apps will work and which won't before I buy them?
    Thanks!

    I have no idea how my reply could be "misleading". I stated the exact situation: there are millions of apps in the iTunes Store, and providing a comprehensive, accurate list of which apps support which version(s) of iOS would be highly impractical. You can perhaps help with your search by going to AppShopper:
    http://appshopper.com/search/?search=iOS+3
    That will give you at least some starting points, but AppShopper is neither comprehensive nor completely accurate. I've found a number of apps listed there over the time the site has existed that either are no longer offered or which have been updated beyond the iOS version indicated. But it might help.
    Regards.

  • Jwsc Error - Only HTTP ports are supported for JAX-WS

    Hi
    I am trying to create a Webservice from wsdl. I have been able to generate java files and jar file with wsdlc ant task.
    However when i try jwsc I get follwoing error
    [jwsc] [ERROR] - Only HTTP ports are supported for JAX-WS.
    <----- follwowing task for generating java files --->
    <taskdef name="wsdlc" classname="weblogic.wsee.tools.anttasks.WsdlcTask"/>     
    <target name="generate-from-wsdl">
              <wsdlc
                   srcWsdl="wsdl_files/UserPrefWebService.wsdl"
                   destJwsDir="web/web-inf/lib"
                   destImplDir="src"
                   packageName="com.ws.userpref"
                   type="JAXWS"/>
         </target>
    <----- follwowing task for generating class files ----THIS IS FAILING --->
         <taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" />      
         <target name="build-service">
              <jwsc srcdir="src" destdir="ear">
                   <jws file="com/ws/userpref/UserPrefWebServiceImpl.java"
                        compiledWsdl="web/web-inf/lib/UserPrefWebService_wsdl.jar"
                        type="JAXWS"/>
              </jwsc>
         </target>
    <----- This is the Error --->
    C:\Development\CFCDemoWorkspace\UserPreferencesServer>ant build-service
    Buildfile: build.xml
    build-service:
    [jwsc] JWS: processing module /com/ws/userpref/UserPrefWebServiceImpl
    [jwsc] Parsing source files
    [jwsc] Parsing source files
    [jwsc] 1 JWS files being processed for module /com/ws/userpref/UserPrefWebS
    erviceImpl
    [jwsc] C:\Development\CFCDemoWorkspace\UserPreferencesServer\src\com\ws\use
    rpref\UserPrefWebServiceImpl.java 18:8
    [jwsc] [ERROR] - Only HTTP ports are supported for JAX-WS.
    [AntUtil.deleteDir] Deleting directory C:\DOCUME~1\138904\LOCALS~1\Temp\_3os716
    BUILD FAILED
    C:\Development\CFCDemoWorkspace\UserPreferencesServer\build.xml:24: weblogic.wse
    e.tools.WsBuildException: JWS Validation failed.
    Total time: 10 seconds
    Does any one has any input on this error?
    Thanks
    Srikant

    Thanks David,
    Below is the wsdl
    <s0:message name="ws_getUserPreference">
    <s0:part element="s1:ws_getUserPreference" name="parameters"/>
    </s0:message>
    <s0:message name="ws_getUserPreferenceResponse">
    <s0:part element="s1:ws_getUserPreferenceResponse" name="parameters"/>
    </s0:message>
    <s0:portType name="UserPrefWebServicePort">
    <s0:operation name="ws_getUserPreference" parameterOrder="parameters">
    <s0:input message="s1:ws_getUserPreference"/>
    <s0:output message="s1:ws_getUserPreferenceResponse"/>
    </s0:operation>
    </s0:portType>
    <s0:binding name="UserPrefWebServiceSoapBinding" type="s1:UserPrefWebServicePort">
    <s2:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <s0:operation name="ws_getUserPreference">
    <s2:operation soapAction="" style="document"/>
    <s0:input>
    <s2:body parts="parameters" use="literal"/>
    </s0:input>
    <s0:output>
    <s2:body parts="parameters" use="literal"/>
    </s0:output>
    </s0:operation>
    </s0:binding>
    <s0:service name="UserPrefWebService">
    <s0:port binding="s1:UserPrefWebServiceSoapBinding" name="UserPrefWebServicePortSoapPort">
    <s2:address location="https://localhost:7001/UserPrefService/UserPref"/>
    </s0:port>
    </s0:service>
    </s0:definitions>
    do i need to add <wlhttptransport/> in jws during the buid?

  • Online Number "Area Code/Local Area" Selection DOE...

    Someone else already posted this earlier, but im having the same problem. I am trying to get an online skype number (NOT THE "TO GO" NUMBER) in the United States and I am able to set the country and state selections, but when asked to set the area code/local area (step 2 on the page) there is a blank field and the drop down box to select the area code is also blank. Reloading the page (numerous times) doesn't fix the entry, and this is apparently the same problem for each state selection, so
    I have included the URL where the process starts:
    http://www.skype.com/intl/en/features/allfeatures/online-number/ 
    and the URL for where the error is occuring on the US section:
     https://secure.skype.com/skypein/number?vc=&country_code=US&voucher=
    It still works for all of the other countries and for the "Skype To Go Numbers," but for some reason not the same with the "online skype numbers" where people can reach you in the United States section and when i type in a number on the local number box i get the area code of the smallest number within the same area of the state on the payment page no matter what combination. Like for Texas i'll get a 210 area code number (San Antonio,TX); For California i'll get a 209 area code number (Modesto,CA); For Florida i'll get a 239 area code number (Naples, FL); For Georgia i'll get a 229 area code number (Albany, GA) and so on. But the bottom line is that due to this error there you only have one area code choice for each state, which more than likely in a remore area of the state. If it could be changed to where we type in the area code and number i would greatly appreciate it and purchase a number. Trying to get past this entry for a week or two now and having no luck. I tried to enter a number in the field, which which it doesn't allow me to do. If anyone can help in fixing this problem, i would greatly appreciate it and start getting new numbers. But i'm not looking to just get a remote area code within a state.

    Dear Readers,
    My experience is similar; in my region, I had to choose a number from a nearby township; numbers in my locale were simply not available.  As I understand it, Skype obtains numbers from local telephone companies; numbers are not available everywhere.
    From this information:  https://support.skype.com/en/faq/FA256/how-do-i-set-up-my-skype-number
    When you purchase a Skype Number, you will need to choose one from our pre-selected range. However, you can choose your favorite number from that range. You can search for your preferred number using the Enter your favorite combination search box, or by clicking Show ten new suggestions… to scroll through the available options.
    Here is a link to the library of articles on Skype Numbers:  https://support.skype.com/en/category/ONLINE_NUMBER_SKYPEIN/
    Best regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Wls 6.1 with ejb 2.0 Does it support  Local Home Interface

    Hi,
    According to the document of wlogic server 6.1 sp2 for window,
    it supports EJB 2.0.
    When I built the bean(2.0 not 1.1) using local interfaces: EJBLocalObject and
    EJBLocalHome, they are successfully built fine, but when I deploy the Application
    they failed because of my interfaces did not "extends" EJBObject and EJBHome and
    java.rmi.RemoteException is required.
    When I extends the local interfaces the java.rmi.RemoteException will not be
    thrown (it is local)so it is not required but the weblogic 6.1 said it is required
    so I wonder the BEA WebLogic 6.1 sp2 supports the local interface.
    If it doesn't support Local interface, How could I do to get arround with this
    because Local interface is one of the new feature that talks in j2sdkee 1.3 with
    ejb2.0.
    Cheers,
    Tom

    Thanks Rob
    Tom
    Rob Woollen <[email protected]> wrote:
    >
    >
    It sounds like you have problems in your descriptors.
    Take a look at the examples/ejb20/bands. It demonstrates some EJBs with
    local
    interfaces in 6.1
    -- Rob
    Tom wrote:
    Hi,
    According to the document of wlogic server 6.1 sp2 for window,
    it supports EJB 2.0.
    When I built the bean(2.0 not 1.1) using local interfaces: EJBLocalObjectand
    EJBLocalHome, they are successfully built fine, but when I deploy theApplication
    they failed because of my interfaces did not "extends" EJBObject andEJBHome and
    java.rmi.RemoteException is required.
    When I extends the local interfaces the java.rmi.RemoteExceptionwill not be
    thrown (it is local)so it is not required but the weblogic 6.1 saidit is required
    so I wonder the BEA WebLogic 6.1 sp2 supports the local interface.
    If it doesn't support Local interface, How could I do to get arroundwith this
    because Local interface is one of the new feature that talks in j2sdkee1.3 with
    ejb2.0.
    Cheers,
    Tom--
    AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnWebLogic.com
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    It sounds like you have problems in your descriptors.
    <p>Take a look at the examples/ejb20/bands.  It demonstrates some
    EJBs with local interfaces in 6.1
    <p>-- Rob
    <p>Tom wrote:
    <blockquote TYPE=CITE>Hi,
    <p>   According to the document of wlogic server 6.1 sp2 for
    window,
    <br>it supports EJB 2.0.
    <br>   When I built the bean(2.0 not 1.1) using local interfaces:
    EJBLocalObject and
    <br>EJBLocalHome, they are successfully built fine, but when I deploy
    the
    Application
    <br>they failed because of my interfaces did not "extends" EJBObject
    and
    EJBHome and
    <br>java.rmi.RemoteException is required.
    <p>   When I extends the local interfaces the java.rmi.RemoteException
    will not be
    <br>thrown (it is local)so it is not required but the weblogic 6.1 said
    it is required
    <br>so I wonder the BEA WebLogic 6.1 sp2 supports the local interface.
    <p>  If it doesn't support Local interface, How could I do to get
    arround with this
    <br>because Local interface is one of the new feature that talks in j2sdkee
    1.3 with
    <br>ejb2.0.
    <p>Cheers,
    <p>Tom</blockquote>
    <pre>-- 
    AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnWebLogic.com</pre>
     </html>

  • Which versions of Windows 7/8 are supported/best for Boot Camp 4/5?

    Hello
    As the title suggests, I'm a bit confused as to which versions of Windows 7 work with Boot Camp 4, or whichever ships with Mountain Lion (which one, 4 or 5, comes with ML 10.8.3?).
    Mainly, I want to know if I can use an OEM copy, and what difference it makes to me, the end user, as opposed to a full license disk. Additionally, which service packs are supported? Eg, SP1 or SP2 or ...?
    Lastly, and this is more of an opinion question, but is Windows 7 or 8 better suited to a Mac? I have 2.5 GHz i5 processor, 8GB RAM, ML 10.8.3, Macbook Pro 13-inch Mid-2012.

    You can get a better idea of which version are supported by each Boot Camp version in this website > http://support.apple.com/kb/HT5634?viewlocale=en_US&locale=en_US
    In general, Boot Camp 4 supports 32-bit Windows XP, and 32 and 64-bit Windows Vista and 7, and Boot Camp 5 supports 64-bit Windows 7 and 8 versions (in compatible computers).
    You can use a OEM or System Builder license, always that you have bought it from a source like Amazon or NewEgg. If you are trying to use the copy you got from another PC, it won't work. Boot Camp supports Windows XP SP2 and later, so all service packs released after it are supported.
    Windows 8 has been out for a few months and it has got a new interface. If you don't want to learn a new interface, go for Windows 7. Both versions will work properly on your computer, so it's a matter of personal choices

  • My MacBook Pro was stolen last night. I need the serial number. It is not showing up on my devices list. My iPads and iPhones are. I have used it to to sync my phones and pads as well having it registered with apple. Any thoughts? Thanks

    My MacBook Pro was stolen last night. I need the serial number. It is not showing up on my devices list. My iPads and iPhones are. I have used it to to sync my phones and pads as well having it registered with apple. Any thoughts? Thanks

    Click here: https://supportprofile.apple.com/MySupportProfile.do
    SIgn in with your Apple ID, the same one you used to access this support forum.
    Hopefully, you will see a list of all the devices you registered with your Apple ID, including their serial numbers. Let me know how this works out.
    Edit to add: If you enabled "find my imac" on your Pro, you ought to be able to remotely lock it, or even wipe its memory. Click http://www.icloud.com/ sign in with your Apple ID and click the big green "find my iPhone" icon (nevermind the name, it will find all your devices provided they're running Lion or iOS 5).
    Then file a police report and nail the b*****d.

  • How many users are supported on a Cisco Aironet 1141N? 30?

    I have a client that wants to upgrade his Aironet 1131 APs with 1141N.  How many users are supported on a Cisco Aironet 1141N?

    Yes, you could have 30 clients on the AP. 
    Client density all depends on what the client is doing, really.
    So if you have clients that are just web surfing and pulling email 30+ isn't a problem.  If they are all streaming video, then you want to plan for less clients per AP, and more APs.
    Steve

  • HT1848 Hi! I am new to i-phone and have a 3gs. I need to update software as itunes will not let me purchase without one. When I go to update it says that there are purchases that have not been downloaded into my library! Am totally confused! Help!!

    Hi!
    Am totally new to iphone and have a 3gs. Am trying to upodate software as in the itunes store it says that I need to to purchase. When I try to update a message says that there are purchases that hav not been down loaded to my library? As far as I know I haven't purchased anything from itunes as it would not let me until i upgraded! Totally confused would it be anything to do with purchases made on my computer through e-bay? Please help me someone as am terrified to upgrade until I know what this message means.
    Would really appreciate any help please.
    Many thanks
    p.s How do you know what operating system you are on?

    http://support.apple.com/kb/HT4972

Maybe you are looking for

  • Tabbed selection screen with AT SELECTION-SCREEN ON events does not work

    I have a selection screen with 3 tabs fields on each tab have AT SELECTION-SCREEN ON field events.   If you are on tab 1 and select a variant that populates fields on all tabs and then click the execute button ABAP does not seem to recognize that the

  • How do I make iPhone passive in iPhoto - not once but always

    I use Aperture and iPhoto. I import all my photostreams and photos to Aperture. It is my main photo application. But I also use iPhoto for special fotos and events. I never syncronize my iPhone with iPhoto or iTunes, but I often connect it to my MacB

  • How do I see how much memory is being used in 10.6.8

    I keep getting an error message that tells me I do not have enough memory.  And all of a sudden most of my disk space is gone. It went from having hundreds of free space to 90. gb.  I don't know how to check which programs are using all the memory an

  • How to increase the column size of Alv tbale

    Hi All, I created an Alv table to display the content of my database table. In one of the column the entire data from my database are not displayed the last few characters are missing. The data type for that column in the database is char. Can any on

  • Create Table from XMLTable (with hierarchy)

    Hi, I've following XML File Structure: <?xml version="1.0" encoding="ISO-8859-1"?> <MenuSystem> <Definition> <Menue label="Main"> <File label="A"> <File label="B"> <File label="C"> <File label="D"> <Prog label="first"/> <Prog label="second"/> <Prog l