Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Vadim Vararu
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!