Reply To: RewriteRule to PrettyFaces.config

Splash Forums PrettyFaces Users RewriteRule to PrettyFaces.config Reply To: RewriteRule to PrettyFaces.config

#25257

First, your pattern is still incorrect. Try the following:

<url-mapping id=”viewRecipe”>
<pattern value=”/#{ /(.*?)/ url }” />
<view-id value=”viewRecipe.jsf” />
</url-mapping>

Second, to get the compiled pattern. Look at PrettyContext.getCurrentInstance().getCurrentMapping()