I am working on a JSF and Hibernate web app with ICEfaces. I am using two Facelets templates, one for the login page and one for the rest of the site.
The problem is, when I click on the login button, it goes to the home page, but without changing the URL nor the template. When I enter the right URL, it goes to it and displays the right template.
I know that ICEfaces uses Ajax and partially updates the page, but I want to know how to stop that, I want it to load the entire requested page.
Just send a redirect after login. You can achieve this by appending a
faces-redirect=truerequest parameter to the navigation outcome.Or if you’re still using the ancient JSF 1.x with
<navigation-case>s infaces-config.xml, then you can achieve the same by adding a<redirect />to the<navigation-case>in question.