I have a problem with the JSF 2.2 Feature
.
I placed this tag in my XHTML-Page, it\'s called viewActionStart.xhtml<
The
applies only on postbacks on the very same view. I.e. it runs only when a
in the very same view has been submitted. The
is never intented to be executed upon POST navigation triggered by a submit of a
of another view. Moreover, the term "postback" in the attribute name also confirms this. This term means in web development world "a POST request on the URL of the page itself".
You need to open it by a GET request instead of a POST request. Replace the
by
:
(note: the
is not necessary anymore)
Or, if you really intend to perform a POST request first for some unclear reason (it would have been a bit more understandable if you were invoking a bean action method, but you're here merely navigating, so the whole POST request doesn't make any sense), then let it send a redirect:
Either way, the URL should now be properly reflected in address bar. This was at its own indeed a strong hint that you was donig things the wrong way ;)