In Home page user enters an id to edit and clicks the edit button. after validating the page(whether id is empty) application will navigate to edit page. My issue is that the page is navigated to edit page but the URL still remains the same. am i missing something ?
Home page URL – `http://localhost:9999/PrettyFacesTest/Home’
I have the below navigation rule in my faces-config.xml
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: