This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have this <h:selectOneMenu> tag where the user can change the language.
Here is the method of the managed bean :
The method is called but the values of the current view are not updated. They are updated if i refresh the page.
Here are the sequence of phases calls :
1) User changes the language :
2) User refreshes the page :
Obviously, the UPDATE_MODEL_VALUES et INVOKE_APPLICATION phases are skipped.
Question : why are they skipped and how can i call them ?
Well I did manage to call these 2 phases with these 2 lines :
In that case all phases are called. Still, I need to refresh the page to get the chosen language.