Re: [solved] Constant URL in JSF application

Splash Forums PrettyFaces Users [solved] Constant URL in JSF application Re: [solved] Constant URL in JSF application

#19991

I doubt that PrettyFaces is suitable in this case, as the concept of PrettyFaces is to embed information (query and/or path parameters) in the URL, which conflicts with your requirement.

You could try to build some kind of master view, that conditionally renders other views (would be easy when you are using Facelets). The conditional rendering should be controlled by some kind of master bean, which is kept alive in the master view via <t:saveState/> or <a4j:keepAlive/> and knows the currently visible sub view. This bean could control which view is rendered (on which “page” the user currently is).

This would constantly show one URL in the browser’s address bar.