wood burning stoves 2.0*
The moose likes Portals and Portlets and the fly likes WEbSphere Portal Server 6.0 - Locale Problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "WEbSphere Portal Server 6.0 - Locale Problem." Watch "WEbSphere Portal Server 6.0 - Locale Problem." New topic
Author

WEbSphere Portal Server 6.0 - Locale Problem.

Kumar Anupam
Greenhorn

Joined: Oct 30, 2004
Posts: 19
Hello Everbody.

We have below issue in our application .... The prompt suggation is really appreciated. Many thanks in advance.

We have a processor which does below taks
This processor
1) Gather parameter from request,
2) Check is Language Toggling Triggered (Language could be en_US / zh_TW)
If yes
3)Create Locale
4) by using LocaleAccessorController.setLocale(locale) setting up the locale.

The LocaleAccessorController can be used to set a special locale into the navigational state and thus into a URL.
Note: A locale retrieved from such a URL takes precedence over user preferred locales or locales defined on the user’s browser

We have another Processor to which the consequent request goes and retrives the Locale value from PortletRequest.
When locale is fetched from portLetRequest.getLocale(), it is always returning en_US as Locale.(Which is default Locale set from the application.)

Now question here is -

1) Is there any setting that we have to do in our Portal environment that make LocaleAccessorControllereffective. If yes, which is that?
2)Is their any other solution to this problem.

Thanks & Regards<br /> <br />Anupam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WEbSphere Portal Server 6.0 - Locale Problem.
 
Similar Threads
Understanding IME Input mode
What you think of this style?
How to pass Global parameter across portlets which are using JSR 168 API
Getting ApplicationResources from a Custome Request Processor
URL Redirect from one TLD to another