[seam-issues] [JBoss JIRA] Updated: (SEAMREMOTING-12) Messages component gets wrong locale in when called with seam remoting (@WebRemote)

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Wed Mar 30 03:43:39 EDT 2011


     [ https://issues.jboss.org/browse/SEAMREMOTING-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shane Bryzak updated SEAMREMOTING-12:
-------------------------------------

    Fix Version/s: Future


> Messages component gets wrong locale in when called with seam remoting (@WebRemote)
> -----------------------------------------------------------------------------------
>
>                 Key: SEAMREMOTING-12
>                 URL: https://issues.jboss.org/browse/SEAMREMOTING-12
>             Project: Seam Remoting
>          Issue Type: Bug
>         Environment: Seam 2.1.2.GA, JBoss EAP 4.3
>            Reporter: David Jensen
>            Assignee: Shane Bryzak
>             Fix For: Future
>
>         Attachments: myproject.zip
>
>
> The wrong locale gets set when using the 'Messages' component in a @WebRemote method called from javascript. Regardless of supported and default locales in faces-config.xml whatever the browser requests is used.  
> I'll attach a clean project with code example. Basically I hunted it down to org.jboss.seam.international.LocaleSelector.getLocale() where we get the locale from the HttpRequest since no FacesContext exists.
> It would seem you can only have supported and default locales in a ordinary JSF request, It would be nice if Seam could keep of track that for you instead of JSF, or have I misunderstood something?
> Thanks!
> /David 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list