public void exit(RequestControlContext context) { super.exit(context); updateHistory(context); destroyVariables(context); context.setCurrentView(null); }
protected void doEnter(RequestControlContext context) throws FlowExecutionException { context.assignFlowExecutionKey(); ExternalContext externalContext = context.getExternalContext(); if (externalContext.isResponseComplete()) { if (!externalContext.isResponseCompleteFlowExecutionRedirect()) { clearFlash(context); } } else { if (shouldRedirect(context)) { context.getExternalContext().requestFlowExecutionRedirect(); if (popup) { context.getExternalContext().requestRedirectInPopup(); } } else { View view = viewFactory.getView(context); context.setCurrentView(view); render(context, view); } } }
public void resume(RequestControlContext context) { restoreVariables(context); View view = viewFactory.getView(context); context.setCurrentView(view); if (view.userEventQueued()) { boolean stateExited = handleEvent(view, context);
public void exit(RequestControlContext context) { super.exit(context); updateHistory(context); destroyVariables(context); context.setCurrentView(null); }
protected void doEnter(RequestControlContext context) throws FlowExecutionException { context.assignFlowExecutionKey(); ExternalContext externalContext = context.getExternalContext(); if (externalContext.isResponseComplete()) { if (!externalContext.isResponseCompleteFlowExecutionRedirect()) { clearFlash(context); } } else { if (shouldRedirect(context)) { context.getExternalContext().requestFlowExecutionRedirect(); if (popup) { context.getExternalContext().requestRedirectInPopup(); } } else { View view = viewFactory.getView(context); context.setCurrentView(view); render(context, view); } } }
public void resume(RequestControlContext context) { restoreVariables(context); View view = viewFactory.getView(context); context.setCurrentView(view); if (view.userEventQueued()) { boolean stateExited = handleEvent(view, context);