On 27 Feb 2014, Mark Struberg wrote: > JSF by default loads the resources from the local WAR classpath only. But you > can easily write your own ResourceResolver which picks the stuff from the > ClassPath as well. > > An example can be found here: > http://ocpsoft.org/opensource/create-common-facelets-jar/ > See CustomResourceResolver.
Very big on the linked site is stated "In JSF2, this process is no longer required.". An we are talking about JSF2 here. Beside this, (as far as I understood it) the ResourceResolver is just responsible for resolving resources like images, CSS and the like at application runtime. We are talking about registering component, converters, etc. at application startup time here and I don't think the ResourceResolver could be any help in this case. thx anyway, - martin
signature.asc
Description: PGP signature
