Difference between revisions of "JSF Nice URL"

From MPDLMediaWiki
Jump to navigation Jump to search
Line 11: Line 11:
===Cons/Pros===
===Cons/Pros===
===Implementation===
===Implementation===
I tested the solution provided by : http://tuckey.org/urlrewrite/.
It works fine. I have now (in Faces) :
- http://localhost:8080/faces/Home instead of http://localhost:8080/faces/faces/HomePage.jsf
- http://localhost:8080/faces/Details/escidoc:6423 instead of http://localhost:8080/faces/faces/Details.jsf?item=escidoc:6423
Now we have to decide which parameters have to be written in the URL.
For Faces I propose:
- ID of the person for the details view

Revision as of 15:21, 10 June 2008

JSF and Nice URL[edit]

Possible solutions[edit]

Cons/Pros[edit]

Implementation[edit]

I tested the solution provided by : http://tuckey.org/urlrewrite/.

It works fine. I have now (in Faces) : - http://localhost:8080/faces/Home instead of http://localhost:8080/faces/faces/HomePage.jsf - http://localhost:8080/faces/Details/escidoc:6423 instead of http://localhost:8080/faces/faces/Details.jsf?item=escidoc:6423

Now we have to decide which parameters have to be written in the URL.

For Faces I propose: - ID of the person for the details view