History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-2071
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Eric Dalquist
Reporter: Fredrik Tuomas
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
uPortal

Setting locale in uPortal does not affect getLocale() in portlet

Created: 02/Jun/08 11:24 AM   Updated: 16/Jun/08 12:27 PM
Component/s: Internationalization
Affects Version/s: 3.0.0
Fix Version/s: 3.0.1, 3.1.0-M1

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Gentoo Linux, Java 1.5


 Description  « Hide
I want to know what locale the user has selected in uPortal and use that information in my portlet, but the result of getLocale() (1) does not change when I change the locale setting in uPortal for a user. I have to the change the preferred language in my browser to change the result of getLocale(). It would be nice if getLocale() would obey the uPortal setting.


1. http://portals.apache.org/pluto/portlet-1.0-apidocs/javax/portlet/PortletRequest.html#getLocale()

 All   Comments   Work Log   Change History   FishEye      Sort Order:
Eric Dalquist [16/Jun/08 12:27 PM]
Added locale methods to the root portal request wrapper.