//override, super class does not handle ZK Ajax case
protected void defaultHandleExecutionOutcome(String flowId, FlowExecutionOutcome outcome,
ServletExternalContext context, HttpServletRequest request, HttpServletResponse response)
throws IOException {
if (!context.isResponseComplete()) {
final AjaxHandler ajaxHandler = getAjaxHandler();
if (ajaxHandler.isAjaxRequest(request, response)) {
final String url = getFlowUrlHandler().createFlowDefinitionUrl(flowId, outcome.getOutput(), request);
ajaxHandler.sendAjaxRedirect(url, request, response, false);
} else {
super.defaultHandleExecutionOutcome(flowId, outcome, context, request, response);
}
}
}