isResponseAllowed check

This commit is contained in:
Keith Donald
2009-04-13 21:27:38 +00:00
parent 8ae6e52d9c
commit b9368b48ff

View File

@@ -226,6 +226,9 @@ class RequestControlContextImpl implements RequestControlContext {
}
public boolean getRedirectOnPause() {
if (!getExternalContext().isResponseAllowed()) {
return true;
}
Boolean redirectOnPause = flowExecution.getAttributes().getBoolean("alwaysRedirectOnPause");
return redirectOnPause != null ? redirectOnPause.booleanValue() : false;
}