Re: Conflict between URL pattern

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

#20301

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

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

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

http://ocpsoft.com/docs/prettyfaces/3.1.0/en-US/html/Configuration.html#config.pathparams.regex

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.