Package javax.faces.lifecycle

Examples of javax.faces.lifecycle.Lifecycle.render()


      event.getBroadcaster().broadcast(request.getAttribute(CometContext.PUBLISH_DATA), channelSubscribers);
     
      //Complete forwarded PrimeFaces ajax request
      LifecycleFactory factory = (LifecycleFactory) FactoryFinder.getFactory(FactoryFinder.LIFECYCLE_FACTORY);
      Lifecycle lifecycle = factory.getLifecycle(LifecycleFactory.DEFAULT_LIFECYCLE);
            lifecycle.render(FacesContext.getCurrentInstance());
    }
  }

  public void onStateChange(AtmosphereResourceEvent event) throws IOException {
    if(event.getMessage() == null)
View Full Code Here


    if (LOG.isDebugEnabled()) {
      LOG.debug("outcome = '" + outcome + "'");
    }
    NavigationHandler navigationHandler = application.getNavigationHandler();
    navigationHandler.handleNavigation(facesContext, null, outcome);
    lifecycle.render(facesContext);
  }

  public abstract String invokeApplication(FacesContext facesContext);

  /**
 
View Full Code Here

      }

      NavigationHandler navigationHandler = application.getNavigationHandler();
      navigationHandler.handleNavigation(facesContext, null, outcome);

      lifecycle.render(facesContext);
    } finally {
      facesContext.release();
    }
  }
View Full Code Here

      if (LOG.isDebugEnabled()) {
        LOG.debug("outcome = '" + outcome + "'");
      }
      NavigationHandler navigationHandler = application.getNavigationHandler();
      navigationHandler.handleNavigation(facesContext, null, outcome);
      lifecycle.render(facesContext);
    } finally {
      facesContext.release();
    }
  }
View Full Code Here

        // Cause the view to be rendered
        if (log.isTraceEnabled()) {
            log.trace("  Rendering view for '" + uri + "'");
        }
        lifecycle.render(context);
        if (log.isTraceEnabled()) {
            log.trace("  Marking request complete for '" + uri + "'");
        }
        context.responseComplete();
View Full Code Here

        // Cause the view to be rendered
        if (log.isTraceEnabled()) {
            log.trace("  Rendering view for '" + uri + "'");
        }
        lifecycle.render(context);
        if (log.isTraceEnabled()) {
            log.trace("  Marking request complete for '" + uri + "'");
        }
        context.responseComplete();
View Full Code Here

      final NavigationHandler navigationHandler = application.getNavigationHandler();
      navigationHandler.handleNavigation(facesContext, null, outcome);


      lifecycle.render(facesContext);
    } finally {
      facesContext.release();
    }
  }
View Full Code Here

  public void render(FacesContext context) {
    Lifecycle lifecycle = getBridgeConfig().getFacesLifecycle();
    lifecycle.execute(context);
    if(!context.getResponseComplete()){
      lifecycle.render(context);
    }
  }
}
View Full Code Here

        // Cause the view to be rendered
        if (log.isTraceEnabled()) {
            log.trace("  Rendering view for '" + uri + "'");
        }
        lifecycle.render(context);
        if (created) {
            if (log.isTraceEnabled()) {
                log.trace("  Releasing context for '" + uri + "'");
            }
            context.release();
View Full Code Here

        // Cause the view to be rendered
        if (log.isTraceEnabled()) {
            log.trace("  Rendering view for '" + uri + "'");
        }
        lifecycle.render(context);
        if (created) {
            if (log.isTraceEnabled()) {
                log.trace("  Releasing context for '" + uri + "'");
            }
            context.release();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.