Reply To: Split: PrettyFaces + Anchor with JavaScript window.location redirect?

Splash Forums PrettyFaces Users Split: PrettyFaces + Anchor with JavaScript window.location redirect? Reply To: Split: PrettyFaces + Anchor with JavaScript window.location redirect?

#25519

Hey,

if you build the raw JSF URL using JavaScript and tell the browser to load this page, the browser will of cause request and show this URL and not the pretty one. There is no way for PrettyFaces to intercept this. If you created the JavaScript, you will adjust your code to create the pretty URL instead of the JSF one.

Christian