@Christian thanks very much. I replaced my JSF managed bean with a CDI managed bean and it worked. All I need to do now is create a method to redirect to /lang/path on language change. By the way how is rewrite compared to writing a filter or a custom viewHandler for handling url rewriting in terms of performance?
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.