• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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]
 
Hey! You're stepping on my hand! Help me tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic