Re: Multiple pattern to same vew-id

Splash Forums PrettyFaces Users Multiple pattern to same vew-id Re: Multiple pattern to same vew-id


With the configuration you posted above, your are injecting the value of the path parameter into a bean. So you won’t be able to read the value using request.getParameter(). If you want to do it this way, you should use named parameters instead.

See this chapter of the documentation for details:

BTW: Are you really sure that you want multiple URLs for only one view? This seems a bit strange for me. Wouldn’t that mean that you will have a very very large view which is difficult to manage. I recommend to use different views and the templating support of JSF 2.0 to manage parts of the page that are same for each view.