Suppose there are 2 JSF pages & a backing bean
index.xhtml- with view parameters & a form
Backing bean- action method with navigation to result.xhtml from index.xhtml with NO REDIRECTION
result.xhtml- no form but outputting some text
Consider a simple case
Fire a GET request to index.xhtml-
Something like this with view parameters-
Phases executed-
Response-
Hit Submit-
Phases executed-
NOTE: It was a POSTBACK, the lifecycle phases were executed for POST request to index.xhtml
Response-
The response contains the contents of result.xhtml page, which were then clearly reflected in the browser window. As it was rendered, the lifecycle must have executed for result.xhtml view too. WHY DON"T I SEE THE PHASES for this view in the console?
I know very well that with redirection, on POSTBACK, the render response phase for index.xhtml will be skipped and then all the phases for result.xhtml will be fired.