Re: Can I use pretty faces URL rewrite in existing JSF-2.0 and Richfaces-3.3.3 app?

Splash Forums PrettyFaces Users Can I use pretty faces URL rewrite in existing JSF-2.0 and Richfaces-3.3.3 app? Re: Can I use pretty faces URL rewrite in existing JSF-2.0 and Richfaces-3.3.3 app?

#23028

The action tag in the XML configuration will instruct PrettyFaces to execute the action on EVERY request to the pretty URL. This is probably not what you want. So you should remove that tag from your configuration.

I think your navigation rules in your faces-config.xml may lead to these problems. It is very uncommon to use navigation rules together with PrettyFaces. You should remove the navigation rules and instead use the PrettyFaces way of navigation from action methods like described here:

http://ocpsoft.org/docs/prettyfaces/3.3.2/en-US/html/navigation.html#navigation.actions