public void execute(FacesContext context) throws FacesException { getWrapped().execute(context); }
@Override public void execute(FacesContext context) throws FacesException { getWrapped().execute(context); }
private void restoreView(FacesContext facesContext) { facesContext.renderResponse(); // call restore phase only lifecycle.execute(facesContext); }
@Override public void execute(FacesContext context) throws FacesException { getWrapped().execute(context); }
@Override public void execute(FacesContext context) throws FacesException { getWrapped().execute(context); }
@Override public void execute(FacesContext context) throws FacesException { getWrapped().execute(context); }
@Override public void execute(FacesContext context) throws FacesException { getWrapped().execute(context); }
public void execute(FacesContext facesContext) throws FacesException { weaveDelegate(); _delegate.execute(facesContext); }
public void execute(FacesContext context) throws FacesException { getWrapped().execute(context); }
@Override public void execute(FacesContext context) throws FacesException { getWrapped().execute(context); }
@Override public void execute(FacesContext context) throws FacesException { getWrapped().execute(context); }
@Override public void execute(FacesContext context) throws FacesException { getWrapped().execute(context); }
public void execute(FacesContext context) throws FacesException { getWrapped().execute(context); }
/** * Executes postback-processing portions of the standard JSF lifecycle including APPLY_REQUEST_VALUES through * INVOKE_APPLICATION. */ public void processUserEvent() { FacesContext facesContext = FlowFacesContext.getCurrentInstance(); // Must respect these flags in case user set them during RESTORE_VIEW phase if (!facesContext.getRenderResponse() && !facesContext.getResponseComplete()) { this.facesLifecycle.execute(facesContext); } }
/** * Executes postback-processing portions of the standard JSF lifecycle including APPLY_REQUEST_VALUES through * INVOKE_APPLICATION. */ public void processUserEvent() { FacesContext facesContext = FlowFacesContext.getCurrentInstance(); // Must respect these flags in case user set them during RESTORE_VIEW phase if (!facesContext.getRenderResponse() && !facesContext.getResponseComplete()) { this.facesLifecycle.execute(facesContext); } }
@Override public void execute(FacesContext context) throws FacesException { EtmPoint requestPoint = EtmManager.getEtmMonitor().createPoint(getDefaultRequestName(context)); context.getAttributes().put(EtmJsfPlugin.ROOT_ETM_POINT, requestPoint); delegate.execute(context); }
/** * Broadcasts {@link org.apache.myfaces.extensions.cdi.core.api.startup.event.StartupEvent} and * {@link org.apache.myfaces.extensions.cdi.jsf.api.listener.request.BeforeFacesRequest} btw. * {@link org.apache.myfaces.extensions.cdi.jsf.api.listener.request.AfterFacesRequest} * <p/> * {@inheritDoc} */ public void execute(FacesContext facesContext) { broadcastApplicationStartupBroadcaster(); broadcastBeforeFacesRequestEvent(facesContext); WindowHandler windowHandler = CodiUtils.getContextualReferenceByClass(WindowHandler.class); if (windowHandler instanceof LifecycleAwareWindowHandler) { ((LifecycleAwareWindowHandler) windowHandler).beforeLifecycleExecute(facesContext); if (facesContext.getResponseComplete()) { // no further processing return; } } wrapped.execute(facesContext); }
/** * Broadcasts {@link org.apache.myfaces.extensions.cdi.core.api.startup.event.StartupEvent} and * {@link org.apache.myfaces.extensions.cdi.jsf.api.listener.request.BeforeFacesRequest} btw. * {@link org.apache.myfaces.extensions.cdi.jsf.api.listener.request.AfterFacesRequest} * <p/> * {@inheritDoc} */ public void execute(FacesContext facesContext) { broadcastApplicationStartupBroadcaster(); broadcastBeforeFacesRequestEvent(facesContext); WindowHandler windowHandler = CodiUtils.getContextualReferenceByClass(WindowHandler.class); if (windowHandler instanceof LifecycleAwareWindowHandler) { ((LifecycleAwareWindowHandler) windowHandler).beforeLifecycleExecute(facesContext); if (facesContext.getResponseComplete()) { // no further processing return; } } wrapped.execute(facesContext); }
private void render(FacesContext context, ViewArtifact viewArtifact, Map<String, Object> model) { ModelAndViewArtifact modelAndViewArtifact = new ModelAndViewArtifact(viewArtifact, model); if (this.rendering != null) { this.rendering = modelAndViewArtifact; ViewHandler viewHandler = this.facesContext.getApplication().getViewHandler(); UIViewRoot viewRoot = viewHandler.createView(this.facesContext, viewArtifact.toString()); this.facesContext.setViewRoot(viewRoot); } else { this.rendering = modelAndViewArtifact; try { Lifecycle lifecycle = this.lifecycleAccessor.getLifecycle(); lifecycle.execute(context); lifecycle.render(context); } finally { this.rendering = null; } } }
public void processUserEvent() { FacesContext facesContext = FlowFacesContext.newInstance(requestContext, facesLifecycle); facesContext.setViewRoot(viewRoot); try { if (restored && !facesContext.getRenderResponse() && !facesContext.getResponseComplete()) { facesLifecycle.execute(facesContext); } if (JsfUtils.isPortlet(facesContext)) { requestContext.getFlashScope().put(ViewRootHolder.VIEW_ROOT_HOLDER_KEY, new ViewRootHolder(getViewRoot())); } } finally { facesContext.release(); } }