Posts Tagged ‘GET links’

Bookmarkable and SEO Friendly JSF with PrettyFaces

Friday, March 20th, 2009

Yes, it is possible. Yes, it requires hacking JSF with filters and/or phaselisteners and/or custom servlets for encoding/decoding serializing/deserializing GET parameters and force redirects upon JSF view resolvers. The good news however: it’s all been done before and you can just hang back and use a small framework that does all this stuff for you. Enter PrettyFaces.

But before we come to that, I would like to show you how PrettyFaces sums up what you need. This involves solving two problems: The JSF POST compulsion and the JSF Redirect problem. You can in fact solve all of these problems seperately, but PrettyFaces just encapsulates all these annoying things for you in a convenient little jar.

read on