I know that JSF supports multiple "render kits", but I have done little research on this topic. [The book I have _JSF in Action_ does not cover this topic in very much depth.]
The idea sounds good, but the one thing I don't understand is this: How does JSF know which render kit to use for a given HTTP request? Clearly, the User-Agent request header should be used to identify which browser is being used by the user, but how does JSF know about the mapping between the User-Agent data and the appropriate render kit?
I imagine that I will need to create a hook somewhere to tell JSF for a given request which render kit to use. But what is the appropriate hook? Do I need a custom PhaseListener? Do I need a custom ViewHandler?
Does anyone have a URL to a resource that solves this problem?
subject: How to select a render kit at request-time?