This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSF and the fly likes Is it a good way to change language(localization)? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Is it a good way to change language(localization)?" Watch "Is it a good way to change language(localization)?" New topic
Author

Is it a good way to change language(localization)?

Vadim Vararu
Ranch Hand

Joined: Jan 03, 2009
Posts: 147
I've got this in the view:



i've got languageBean with this method that is called from my view:



and i've got a navigation rule for "success", to redirect(or forward) the page to itself. This works, but i don't understand why this does not wanna work without the navigation rule (i'm mean in case i return null from changeLnaguage method). As i know, in case i return null, i get forwarded on the calling view, so why do i need a naviagtion rule to get it work?


If you think you've done too much, usually it means you've done too few.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Is it a good way to change language(localization)?
 
Similar Threads
PhaseListener?
inputText tag not working properly
errors's management
navigation rules are not working...
JSF backingbean value is null always.