Make isStateless return false
Issue: SWF-1719
This commit is contained in:
committed by
Rossen Stoyanchev
parent
81ac1b0dcf
commit
5a1c854d27
@@ -61,6 +61,11 @@ public class FlowResponseStateManager extends ResponseStateManagerWrapper {
|
||||
return this.wrapped;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isStateless(FacesContext context, String viewId) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeState(FacesContext facesContext, Object state) throws IOException {
|
||||
if (!JsfUtils.isFlowRequest()) {
|
||||
|
||||
@@ -60,6 +60,11 @@ public class MyFacesFlowResponseStateManager extends ResponseStateManagerWrapper
|
||||
return this.wrapped;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isStateless(FacesContext context, String viewId) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public void saveState(FacesContext facesContext, Object state) {
|
||||
RequestContext requestContext = RequestContextHolder.getRequestContext();
|
||||
requestContext.getViewScope().put(FlowResponseStateManager.FACES_VIEW_STATE, state);
|
||||
|
||||
Reference in New Issue
Block a user