Re: conditional url-mapping

Splash Forums PrettyFaces Users conditional url-mapping Re: conditional url-mapping


What you are seeing is correct behavior. PrettyFaces has no way to inspect the custom regex you’ve specified in your URLs, so it has no way of telling which mapping to use because they both have the same path-parameter names: ‘order’ ‘producer’ ‘group’

These two mapping are effectively the same, why do you need two? It does seem like we should be able to handle this, but right now I can’t see a clear way to do so. Something to think about if you want to add an issue requesting it for the future: