OK, I have put breakpoint in the ViewIdBasedNavigationHandler code, and the redirect is well done
.
The problem is client side
.
To make the redirect work, I have to specify async="false" in the "p:commandButton" and then the redirect is OK. Is it normal ?
But in this case (when I put async="false"), if the validation of the form failed (so we stay on the current page), the display is broken (h:outputLabel not shown, wrong label button, panel without title, ...).
See when normal :
and when broken :
So...
if I do not put async="false", redirection failed and validations is ok,
but if I put it, redirection failed and form validation break the page.
Note : I try to suppress all the Panel but same problems remains (page is broken when validation fails).
A help will be appreciate... No more idea to test.