[richfaces-issues] [JBoss JIRA] Commented: (RF-3057) Problem with Resource Messages in Portlet environment. The User Locale is lost when an AJAX request is done

Javier Alperte (JIRA) jira-events at lists.jboss.org
Mon Apr 14 11:13:54 EDT 2008


    [ http://jira.jboss.com/jira/browse/RF-3057?page=comments#action_12408612 ] 
            
Javier Alperte commented on RF-3057:
------------------------------------

Hi Nick,

No, my comment was only to clarify the problem. 

I don´t know if i expained it well, let me explain better...

I have my application internationalized in three languages, and i´m running the aplication as a portlet in JBoss Portal 2.6.4. Imagine you are a customer accessing to the application through a browser in English Language, and you already has a Portal User configured to work in Portuguesse Locale. When you are logged in the portal, the application must resolve all the texts using the Portal User Locale (in this case Portuguesse), and it do, but when an Ajax Request is done, the texts in the Ajax Regions re-rendered are displayed in English not in Portuguese. It seems the Ajax request are using the Browser Locale and not the Portal User Locale.

> Problem with Resource Messages in Portlet environment.  The User Locale is lost when an AJAX request is done
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-3057
>                 URL: http://jira.jboss.com/jira/browse/RF-3057
>             Project: RichFaces
>          Issue Type: Bug
>          Components: portal
>    Affects Versions: 3.1.4
>         Environment: JBoss AS 4.2.2, JBoss Portal 2.6.4, JBoss Seam 2.0.2.A1, JBoss Portlet Bridge 1.0.0.B1, Facelets 1.1.14, EL-API 1.0, EL-RI 1.0, on Linux KUbuntu 7.04 Feisty Fawn
>            Reporter: Javier Alperte
>
> I have three resources messages files (for es, pt and en locales respectively), when i do some normal (not ajax) request, the resources are displayed in the actual user locale, but when i do some AJAX request, all the i18n texts of the AJAX regions are shown using the default locale configured in the faces-config.xml, i think the AJAXFacesPortlet is not accessing well to the Portal User Locale - maybe not through the JBoss Portal Bridge?

-- 
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 richfaces-issues mailing list