Re: Rewrite JSF 2.0 & primefaces resources

Splash Forums PrettyFaces Users Rewrite JSF 2.0 & primefaces resources Re: Rewrite JSF 2.0 & primefaces resources

#21424

domdorn
Participant

you’d have to implement a ResourceHandler (http://java.sun.com/javaee/6/docs/api/javax/faces/application/ResourceHandler.html)

I did this once for the JSF Resource Relocator ( https://github.com/domdorn/JSF-Resource-Relocator )

anyway.. if you are going to keep the resources on your local server, its not worth the effort to rewrite the jsf resource urls… pretty urls are primary made for humans ;)