Re: [appfuse-user] How to change the locale programmatically

2008-07-29 Thread Martin Homik
Oh boy ... this was a long journey. Finally, I came up with a third alternative: a filter. I came across a few posts and found the LocaleFilter. In principle, I copied it and added a few more lines. Now, the workflow is like this: 1. check if a remote user exists; if not then process as LocaleF

[appfuse-user] How to change the locale programmatically

2008-07-28 Thread Martin Homik
Setting: Basic-Struts2-AppFuse 2.0.2-with core classes In my scenario, my User has a default language which might differ from the browser's locale. Hence, I'd like to change the locale programmatically relative to the user's default language. There are two ways to do this: 1. Store the locale pr