Re: Using PrettyFaces 3.3.1-SNAPSHOT

Splash Forums PrettyFaces Users Using PrettyFaces 3.3.1-SNAPSHOT Re: Using PrettyFaces 3.3.1-SNAPSHOT

#21480

I’m willing to bet that the reason this is “repeating” is because the pattern you have defined: “/*” is actually not valid. This effectively translates to: “/////////..” for any number of repetitions.

Your view-ID is also invalid, this type of functionality is not available in PrettyFaces yet. The “$1” characters will be interpreted literally as a $1, not as the value that was matched by the pattern. Even if that were the case, you would have needed to use “(…)” in your pattern to specify a regex matching group :)

So, that being said, it seems like you are trying to do something that is not supported yet by PrettyFaces 3.x (but is supported by Rewrite / PrettyFaces 4.x, which are in beta)

See my post here:

http://ocpsoft.com/support/topic/generic-url-mapping