In order to get to the menu form I enter
http://localhost:8080/myapp/pages/menu.jsf into the browser. When the menu form comes up, I click on a button that takes me to the status form. After getting to the status form, the URL remains the same i.e
http://localhost:8080/myapp/pages/menu.jsf However, as soon as I click any button in the status form, the URL changes (to
http://localhost:8080/myapp/pages/status.jsf ). As a result of this, all the components that have been programmatically set to rendered=false become rendered when the status form is rendered after submission.
Even though I did not specify a redirect, the changing of the URL gives the impression that a redirect takes place after the status form is submitted. Can anyone please tell me why this is happening and how I can stop it. I am using MyFaces 2.0 on Tomcat 7 The managed bean for status form is in the request scope.
Thanks.
1. A button in the status form that changes the URL
====================================================
2. Part of status form's managed bean
====================================
2. Faces Config
================