Re: Conflict between URL pattern

Splash Forums PrettyFaces Users Conflict between URL pattern Re: Conflict between URL pattern


I think your pattern is wrong. It should be something like (I didn’t test it):

<pattern value="/#{ /(?<=prehome)/ }/" />

Take a look at the corresponding chapter of the PrettyFaces documentation how to add custom regex patterns to the URL.

However I would strongly advise you to try playing with the order of the mappings in your pretty-config.xml instead of using such patterns. I think the patterns are evaluated in the order in which they appear in the file. So if you place your prehome pattern in front of all others it should work like expected.