Splash › Forums › Rewrite Users › Rewrite conflict with HTTP request › Reply To: Rewrite conflict with HTTP request
There are two ways to fix this.
First you could simply redirect the user in onChangeCountryLocaleCode. This would result in a new request which would get the correct locale.
The second option would be to configure PrettyFaces to execute the page action in a later JSF phase like RENDER_RESPONSE. See this part of the documentation for details:
If you find our tools useful, please consider making a donation to help us stay online and building software!