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

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Tue Oct 26 19:00:54 EDT 2010


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

Shane Bryzak moved JBSEAM-4248 to SEAMREMOTING-12:
--------------------------------------------------

              Project: Seam Remoting  (was: Seam)
                  Key: SEAMREMOTING-12  (was: JBSEAM-4248)
    Affects Version/s:     (was: 2.1.2.GA)
          Component/s:     (was: Remoting)


> Messages component gets wrong locale in when called with seam remoting (@WebRemote)
> -----------------------------------------------------------------------------------
>
>                 Key: SEAMREMOTING-12
>                 URL: https://jira.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
>         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.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list