I have a web application where a user can start a search from almost all pages of the application.
Every time a user searches I would like to start a new flow, so basically I have:
<p:commandLink action="#{myBean.startNewSearch}" .../>
public void startNewSearch(){
//Some validations and pre-conditions
Faces.navigate("exitSearchFlow");
//Perform search
return "startSearchFlow";
}
I can see with the loggers that the flow is started and the flow is finished but jfwid never changes (I'm using faces-redirect=true, the form parameter does not change either).
How can I do that?