Splash › Forums › PrettyFaces Users › Losing request parameter › Reply To: Losing request parameter
If you use:
PrettyFaces will send a redirect to the client, which means that the browser will request page2 in a separate request. That’s why the parameter is lost.
JSF will directly render page2 in the SAME request. That’s why the URL won’t change and you will still have page1 in the browser URL. But as it is the same request, the parameter will be still there.
If you force JSF to also use a redirect by using:
You will actually have the same problem.
If you find our tools useful, please consider making a donation to help us stay online and building software!