Re: Navigation Issue – 2

Splash Forums PrettyFaces Users Navigation Issue – 2 Re: Navigation Issue – 2

#21054

It seems like your don’t use PrettyFaces navigation in your action method at all.

If you want the URL to change after your action method has been executed, you should return pretty:myMappingId from the action method. In this case you can even remove the navigation rule from your faces-config.xml. This will make things much easier.

See this section of the documentation for details:

http://ocpsoft.com/docs/prettyfaces/3.2.0/en-US/html/navigation.html#navigation.actions