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

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

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

Dan Allen updated JBSEAM-2467:

    Attachment: JBSEAM-2467-v1.txt

Created attachment with supported-locale patch

> 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
>         Attachments: JBSEAM-2467-v1.txt
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
> 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:
> 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