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

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Mar 14 08:12:53 EDT 2008

     [ http://jira.jboss.com/jira/browse/JBSEAM-2467?page=all ]

Pete Muir closed JBSEAM-2467.

> 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.CR2
>         Attachments: JBSEAM-2467-v1.txt
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
> Adding the <supported-locale> elements to faces-config.xml makes 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:
> Language:
> <h:selectOneMenu value="#{localeSelector.localeString}"
>     valueChangeListener="#{localeSelector.select}"
>     onchange="submit();">
>     <f:selectItems value="#{localeSelector.supportedLocales}"/>
> </h:selectOneMenu>

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