Re: PrettyFaces + Primefaces url trouble

Splash Forums PrettyFaces Users PrettyFaces + Primefaces url trouble Re: PrettyFaces + Primefaces url trouble


You write that you want an URL like this:

In this case you have to implement some method that loads the corresponding data from the database. Think of a case where somebody bookmarks this URL and loads it again after some minutes. In this case there is no button that is clicked.

PrettyFaces is all about building URLs that work independently from each others. You will have to do a bit of refactoring of you code if you want such pretty URLs.

Please have a look at this post I wrote some time ago, which explains the general pattern for implementing such URLs:

I hope this helps. :)