I want to virtual host with JSF (MyFaces). Since not every site will have the same exact page names, I came up with the exotic idea of modifying the lifecycleImpl class so it sets the view root as /whatever.jsf but uses createView on /hostname/whatever.jsf. That way, a virtual host (called 'hostname') would only see the pages they'd defined and I would not have to make dummy pages so all sites have a /whatever.jsf page.
So, has anyone tried setting different values for setViewId and setViewRoot before? I'm wondering if someone experienced can make any suggestions on this idea before I try it (and possibly blow everything up on my own). Thanks for any opinions or suggestions, David