Re: Rewriting with JSF 2 h:outputStylesheet / h:outputScript failed

Splash Forums PrettyFaces Users Rewriting with JSF 2 h:outputStylesheet / h:outputScript failed Re: Rewriting with JSF 2 h:outputStylesheet / h:outputScript failed

#20246

domdorn
Participant

Get rid of this xtime=… thing in the url and simply make sure, you’re resources are put in /resources/yourlibrary/1287054180000/ip-jsftoolkit.js when creating the war.

jsf’s resource loading will automatically find the newest version and append a version=1287054180000 to the generated url which then gets resolved back and your resource is displayed. no need to do anything with prettyfaces here.

http://blogs.sun.com/rlubke/entry/jsf_2_0_new_feature5