• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Change JForum Locale in real time

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, i have integrated JForum in my webapp, I create and edit users out of JForum, and all found ok, but i want know how i can change Locale value in real time, to user do click in JForum link and JForum appear in the previus select language. Now i change lenguage value in DB, and if user change it, and restart web browser (restart session web browser) JForum appear in new language. but i want can change the Locale value IN SAME SESSION.

Somebody can help me?, thanks!
[originally posted on jforum.net by MiLLeN]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I see this post https://coderanch.com/t/578473

THen, i add to SessionFacade my personal method:


And i try to get my set Language in my webapp Spring context in services method of JForum class.



But say me one NullPointerException error, Why?, How i can fix?. is why my webapp Spring context is not possible to access from JForum?, if is possible... how?

Thanks!
[originally posted on jforum.net by MiLLeN]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic