[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2467) add supported-locale elements to faces-config.xml

Dan Allen (JIRA) jira-events at lists.jboss.org
Tue Jan 8 14:02:44 EST 2008

add supported-locale elements to faces-config.xml

                 Key: JBSEAM-2467
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2467
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: Tools
    Affects Versions: 2.0.1.CR1
            Reporter: Dan Allen
         Assigned To: Dan Allen
             Fix For: 2.0.1.GA

Adding the <supported-locale> elements to faces-config.xml make it simple to create a drop-down list to be used with the locale switcher component. Java has built in support for rendering locale-specific labels for the languages, which makes it even all the more appropriate.

This allows you to create the following UI component:

<h:selectOneMenu value="#{localeSelector.localeString}"
    <f:selectItems value="#{localeSelector.supportedLocales}"/>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list