Add supported locale

Hello there,
is it possible to add supported locales at runtime? Or can they be declared just in faces-config.xml?
Thanks
Qjeta

I think you might want to try replacing the ApplicationFactory class. Then you could override getSupportedLocales() method.
Use the decorator pattern when you do this...i.e., define a single-parameter constructor, by which you can keep the "original" ApplicationFactory around and call it when you implement the two methods of this class. Extend javax.faces.application.ApplicationFactory to do this.
Edited by: Michael C. Fons on Mar 16, 2010 8:24 AM

Similar Messages

  • I want to add your local cryptographic algorithms to firefox. What I must modify except NSS?

    I want to add some local cryptographic algorithms to Firefox. I know, that I must modify NSS. I can, for example, modify only NSS and use this libraries in browser, or I must do something else with Firefox?

    Duplicate: https://support.mozilla.org/en-US/questions/1013323
    I will lock this thread.

  • Add new locale

    Hello,
    how to add new locale to the list in BI Dashboards -> Settings> My Account -> Locale (location)
    http://tinypic.com/r/zjhttv/6

    German spell checker is currently on the product roadmap and will be available out-of-the-box in the product itself - though there are no fixed timelines as of now.
    Can you please file a request via Enterprise support channel so that this feature gets a higher priority?
    BTW the application itself works fine in English, French , German & Japanese languages - if you change the browser locale to German then the entire UI would appear in German language.
    --Santosh

  • How do I add Chinese local after Solaris OS has been installed

    How do I add Chinese local after Solaris OS has been installed. right now on my
    /usr/lib/localedef/src I only have iso_8859_1
    Thank you

    Welcome to the Apple Support Communities
    1. To boot into Mac OS X, press X key while your computer is starting.
    2. Install Boot Camp drivers

  • How to add a locally stored video file to a presentation

    Hi all ,
    I want to add a locally stored video file to a presentation .What is the url that i need to use..
    Ur help is much appreciated
    Thanks

    The recommended procedure is to create the presentation on the DMM (upload the video to the DMM) then create a deployment package using the presentation created on the DMM. Once you deploy it to the DMP, the DMM will FTP the video along with presentation files to the DMP which will contain the links to play the video that will be stored locally on the DMP.
    You may want to review the following thread to see how to trigger the local presentation to play and how to update it later:
    https://supportforums.cisco.com/message/3289668
    Regards,
    Fabio Bergamo
    Cisco TAC

  • Arabic is not listed as a display language in iTunes for Windows 7. How can I add support for this language?

    Arabic is not listed as a display language in iTunes for Windows 7. How can I add support for this language?

    Edit  ---> referance ----->   general    ------> language

  • [svn:fx-trunk] 10876: Add support for drag-and-drop from Spark List to Spark List.

    Revision: 10876
    Author:   [email protected]
    Date:     2009-10-05 15:20:07 -0700 (Mon, 05 Oct 2009)
    Log Message:
    Add support for drag-and-drop from Spark List to Spark List.
    - List drop related handlers
    - LayoutBase APIs
    - VerticalLayout DND support
    Notes:
    - ListSkin is not final.
    - Drag-scrolling not yet implemented.
    QE notes: Only VerticalLayout works, HorizontalLayout still not implemented.
    Doc notes: None
    Bugs: None
    Reviewer: Deepa
    Tests run: checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ListSkin.mxml
        flex/sdk/trunk/frameworks/spark-manifest.xml
    Added Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/DropLocation.as

    Whoops, disregard my question - I just read the spec that indicates drag and drop is scheduled for later work.
    David

  • Is it possible to add support for new database type in Data Modeler?

    Hi,
    I see that Data Modeler v.4 supports different versions of Oracle, DB2 and MS SQL. Is it possible to add support for a new database family,
    PostgreSQL for example? I hoped that RDBMS Site editor can do it, but so far I don't see any possibility to add XML files with metadata for a new RDBMS.
    I did it previously for PowerDesigner were it is possible to add and modify definitions for new relational databases.
    Thank you,
    Sergei

    There is discussion option as an out of the box feature. Check this: BI launch pad 4.0: Participate in a discussion about a document

  • Add support for custom xmp panels

    Please add support for custom xmp panels.
    Thanks

    I would strongly support that too!!!
    Here is why: We have been working at an XMP implementation of the Darwin Core to support standardized metadata on biodiversity information. Have a look here. I would love to have an Panel in Lightroom to support the metadata that I am embedding with IDImager:
    http://wiki.idimager.com/index.php?title=DarwinCoreXMP#.27.27.27Darwin_Core_XMP.27.27.27
    Cheers,
    Frank

  • Simple Browser which support locally saved html file having Marquee text

    I want simple java browser in which I can run locally saved html file having marquee text in it.
    My requirement is to show html file in Oracle forms.For that i need JAR Files of that browser which support html file(locally saved & support marque text).
    Because i use several browser which support locally html file but not support marque text.These browser display static html file not marque text in it.
    Can anybody help me.
    Regards

    1. There is no reliable way of guessing the encoding of a file without that information. Thats why XML for example has very strict rules wrt. it's encoding (short form: use UTF-8 or UTF-16, if you use anything else, you'll have to specify it)
    2. you might be able to make an educated guess if the possible range of encodings is limited, but it will probably never be 100% certain
    3. The HTML file might have a header entry "<meta http-equiv..." that tells you about it's encoding. You could try to read the start of the file and see if you find that, then if you found it re-read the entire file.
    regards

  • [svn:osmf:] 10441: Add support for strict validation of VAST documents during parsing.

    Revision: 10441
    Author:   [email protected]
    Date:     2009-09-20 16:23:43 -0700 (Sun, 20 Sep 2009)
    Log Message:
    Add support for strict validation of VAST documents during parsing.
    Modified Paths:
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/parser/VASTParser.as
        osmf/trunk/libs/VASTTest/org/openvideoplayer/vast/parser/TestVASTParser.as

    Hi, everything in the "Quick Reference" section should be commented out with ;
    You should change those settings further down in the php.ini file.
    Example:
    error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
    display_errors = Off
    Last edited by adrianx (2013-07-26 12:32:02)

  • [svn:osmf:] 10437: Add support and unit tests for parsing VAST documents ( inline or wrapper).

    Revision: 10437
    Author:   [email protected]
    Date:     2009-09-20 13:31:16 -0700 (Sun, 20 Sep 2009)
    Log Message:
    Add support and unit tests for parsing VAST documents (inline or wrapper).   All elements are covered with the exception of Video.
    Modified Paths:
        osmf/trunk/libs/VAST/.flexLibProperties
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTAdPackageBase.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTDocument.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTInlineAd.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTWrapperAd.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/parser/VASTParser.as
        osmf/trunk/libs/VASTTest/org/openvideoplayer/vast/parser/TestVASTParser.as
    Added Paths:
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTAdBase.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTCompanionAd.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTNonLinearAd.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTTrackingEvent.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTTrackingEventType.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTUrl.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTVideoClick.as

    Your problem sounds similar to this one, except that they're using software raid rather than just pure LVM. If you're using an initrd, you may not have the appropriate modules installed. If you're not using an initrd, then the kernel probably needs LVM support compiled in (not as a module) and could be solved by fixing that. I have never used the ck-patchset, but this should give you an additional data point.
    Also comment=systemd.automount will be deprecated soon as I understand it; if you have a need for automounting, x-systemd.automount should be used instead.

  • [svn:bz-trunk] 20582: Add support for destination-include directory-path=" mydir"/ .

    Revision: 20582
    Revision: 20582
    Author:   [email protected]
    Date:     2011-03-03 12:35:14 -0800 (Thu, 03 Mar 2011)
    Log Message:
    Add support for <destination-include directory-path="mydir"/>.
    This will process each file ending in ".xml" as an individual <destination-include file-path=""/> element, allowing a web application to define a directory of destination configuration snippets.
    Added a new API to ConfigurationFileResolver.java: getFiles(String dir).
    This returns a list of XML files contained in this directory relative to the current configuration file.
    Updated both the ServletResourceResolver and the LocalFileResolver with implementations.
    Modified Paths:
        blazeds/trunk/modules/common/src/flex/messaging/config/ConfigurationConstants.java
        blazeds/trunk/modules/common/src/flex/messaging/config/ConfigurationFileResolver.java
        blazeds/trunk/modules/common/src/flex/messaging/config/LocalFileResolver.java
        blazeds/trunk/modules/core/src/flex/messaging/config/ServerConfigurationParser.java
        blazeds/trunk/modules/core/src/flex/messaging/config/ServletResourceResolver.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

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

  • How do I add /usr/local/bin to path

    Hi.
    I have installed arch linux on a server.
    It seems really very good - manged to install latest snort-inline easily...
    However (and this is really a completely NOOB question)
    - how do I add /usr/local/bin to the default (root) path ?
    I have tried to add
    PATH=/usr/local/bin
    to /etc/enviornment
    But it did not show up when using the - env command (after re-logging in)
    I know that I could sym link to /usr/bin but i would like to know.
    Any help would be good
    Cheers
    Last edited by yossarianuk (2008-10-02 10:31:21)

    There's a place for all three of /usr/bin, /usr/local/bin, and ~/bin --- even on Arch.
    If you download package whizbang-1.2.3 from some non-Arch site, its installer will often by default try to install its files into the /usr/local hierarchy. When making a PKGBUILD, you want to tell it instead to install into $pkgdir/usr, so that when you install the resulting pkg file with pacman, it goes into the /usr hierarchy. That's what the wiki page is saying: pacman-managed stuff goes into the /usr hierarchy.
    /usr/local/* is for files you want to install systemwide without making a PKGBUILD. Your own scripts are a great example. Also you might want to install some compiled files that way, if making a PKGBUILD isn't worth it or you don't have the time to write (*and maintain!*) one.
    ~/bin is for scripts (could be compiled files too) that you want to only be available to that specific user.

Maybe you are looking for

  • After closing serversocket, process remains

    Hi everyone, I'm trying to learn to write a client/server program. I begin by creating a serversocket and waiting for data. When I close the program, the serversocket still remains even when I create handlers that try to close the socket after the GU

  • How do I transfer data from one pg to the next pg?

    I have a registration page that I would like to go to a welcome page when registration is complete. The welcome page will say "Welcome (name) your new username and password are (user & pwd)". I have tried unsuccessfully using cookies to populate the

  • Limit user login in multiple RODC

    I have 2 RODC and a RWDC.i prepopulate some password on RODC1 And Some on RODC2 cache database. i already read this article http://www.frickelsoft.net/blog/?p=232 I want to limit user login in multiple RODC.(for example user1 can not login to os in d

  • Change log needed when item Text is changed via a customised tab in PO

    Hi all, In ME21N, ME22N and ME23N we have added a tab CUSTOMERDATA which contains input to enter no. of batches. When ever we enter something, say 1 in the field for no. of batches, this will trigger a FM which will create a batch and update the TEXT

  • Missing fonts after upgrade

    I've noticed that a key group of fonts I use on a regular basis are not being listed in my programs, however they are being listed in Font book as being installed.  This has only been since I upgraded to Lion.  The two fonts I am specifically looking