Re: Menu link to the currently viewed page

Splash Forums PrettyFaces Users Menu link to the currently viewed page Re: Menu link to the currently viewed page

#21730

This sounds like correct behavior. If you are using JSF navigation without doing a redirect, PrettyFaces is not getting involved. That is still the case here. Take a look at your Form URL. It should be the URL of the current Page.

When you click the navigation link, you are actually submitting the form back to the URL of the current page, and then JSF simply renders the new content under that URL. That’s why you want to use a redirecting navigation instead.

If you use jSF navigation for this, PrettyFaces will indeed not do anything for you. I’m guessing you need to do a redirect in order to see the updated URL, though I’m surprised you are not seeing this from your other pages as well.

~Lincoln