javax.faces.lifecycle.Lifecycle.render()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(5.6k)|赞(0)|评价(0)|浏览(86)

本文整理了Java中javax.faces.lifecycle.Lifecycle.render()方法的一些代码示例,展示了Lifecycle.render()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Lifecycle.render()方法的具体详情如下:
包路径:javax.faces.lifecycle.Lifecycle
类名称:Lifecycle
方法名:render

Lifecycle.render介绍

[英]Execute the Render Response phase of the request processing lifecycle, unless the responseComplete() method has been called on the FacesContext instance associated with the current request.
[中]执行请求处理生命周期的呈现响应阶段,除非对与当前请求关联的FacesContext实例调用了responseComplete()方法。

代码示例

代码示例来源:origin: org.springframework.webflow/org.springframework.faces

/**
 * Delegates to the wrapped {@link Lifecycle}.
 * @throws FacesException
 */
public void render(FacesContext context) throws FacesException {
  delegate.render(context);
}

代码示例来源:origin: javax/javaee-web-api

@Override
public void render(FacesContext context) throws FacesException {
  getWrapped().render(context);
}

代码示例来源:origin: com.sun.faces/jsf-api

@Override
public void render(FacesContext context) throws FacesException {
  getWrapped().render(context);
}

代码示例来源:origin: org.glassfish/jakarta.faces

@Override
public void render(FacesContext context) throws FacesException {
  getWrapped().render(context);
}

代码示例来源:origin: org.apache.myfaces.extensions.scripting/extscript-core

public void render(FacesContext facesContext) throws FacesException {
  weaveDelegate();
  _delegate.render(facesContext);
}

代码示例来源:origin: org.apache.myfaces.core/myfaces-api

public void render(FacesContext context) throws FacesException
{
  getWrapped().render(context);
}

代码示例来源:origin: javax.faces/javax.faces-api

@Override
public void render(FacesContext context) throws FacesException {
  getWrapped().render(context);
}

代码示例来源:origin: org.springframework.webflow/spring-faces

public void render(FacesContext context) throws FacesException {
    getWrapped().render(context);
  }
}

代码示例来源:origin: spring-projects/spring-webflow

public void render(FacesContext context) throws FacesException {
    getWrapped().render(context);
  }
}

代码示例来源:origin: jboss/jboss-javaee-specs

@Override
public void render(FacesContext context) throws FacesException {
  getWrapped().render(context);
}

代码示例来源:origin: org.glassfish/javax.faces

@Override
public void render(FacesContext context) throws FacesException {
  getWrapped().render(context);
}

代码示例来源:origin: eclipse-ee4j/mojarra

@Override
public void render(FacesContext context) throws FacesException {
  getWrapped().render(context);
}

代码示例来源:origin: eclipse-ee4j/mojarra

@Override
public void render(FacesContext context) throws FacesException {
  getWrapped().render(context);
}

代码示例来源:origin: frenchc/jetm

@Override
public void render(FacesContext context) throws FacesException {
 try {
  delegate.render(context);
 } finally {
  EtmPoint requestPoint = (EtmPoint) context.getAttributes().get(EtmJsfPlugin.ROOT_ETM_POINT);
  if (requestPoint != null) {
   requestPoint.collect();
   context.getAttributes().remove(EtmJsfPlugin.ROOT_ETM_POINT);
  }
 }
}

代码示例来源:origin: org.apache.myfaces.extensions.cdi.bundles/myfaces-extcdi-bundle-jsf12

/**
 * Performs cleanup tasks after the rendering process
 * <p/>
 * {@inheritDoc}
 */
public void render(FacesContext facesContext)
{
  //TODO avoid ContextNotActiveException - details:
  //TODO due to mojarra & weld issues (of some version) we might have to check if the context(s) are active
  ConversationRequiredUtils.ensureExistingConversation(facesContext);
  wrapped.render(facesContext);
  ConversationUtils.postRenderCleanup(facesContext);
}

代码示例来源:origin: org.apache.myfaces.extensions.cdi.bundles/myfaces-extcdi-bundle-jsf20

/**
 * Performs cleanup tasks after the rendering process
 * <p/>
 * {@inheritDoc}
 */
public void render(FacesContext facesContext)
{
  //TODO avoid ContextNotActiveException - details:
  //TODO due to mojarra & weld issues (of some version) we might have to check if the context(s) are active
  ConversationRequiredUtils.ensureExistingConversation(facesContext);
  wrapped.render(facesContext);
  ConversationUtils.postRenderCleanup(facesContext);
}

代码示例来源:origin: org.apache.myfaces.extensions.cdi.bundles/myfaces-extcdi-bundle-jsf20

/**
 * Performs cleanup tasks after the rendering process
 *
 * {@inheritDoc}
 */
public void render(FacesContext facesContext)
{
  //TODO avoid ContextNotActiveException - details:
  //TODO due to mojarra & weld issues (of some version) we might have to check if the context(s) are active
  ConversationRequiredUtils.ensureExistingConversation(facesContext);
  wrapped.render(facesContext);
  ConversationUtils.postRenderCleanup(facesContext);
}

代码示例来源:origin: org.apache.myfaces.extensions.cdi.modules/myfaces-extcdi-jsf12-module-impl

/**
 * Performs cleanup tasks after the rendering process
 * <p/>
 * {@inheritDoc}
 */
public void render(FacesContext facesContext)
{
  //TODO avoid ContextNotActiveException - details:
  //TODO due to mojarra & weld issues (of some version) we might have to check if the context(s) are active
  ConversationRequiredUtils.ensureExistingConversation(facesContext);
  wrapped.render(facesContext);
  ConversationUtils.postRenderCleanup(facesContext);
}

代码示例来源:origin: org.apache.deltaspike.modules/deltaspike-jsf-module-impl-ee6

/**
 * Performs cleanup tasks after the rendering process
 */
@Override
public void render(FacesContext facesContext)
{
  this.wrapped.render(facesContext);
  
  if (facesContext.getViewRoot() != null && facesContext.getViewRoot().getViewId() != null)
  {
    ViewAccessContext viewAccessContext = contextExtension.getViewAccessScopedContext();
    if (viewAccessContext != null)
    {
      viewAccessContext.onProcessingViewFinished(facesContext.getViewRoot().getViewId());
    }
  }
}

代码示例来源:origin: org.apache.deltaspike.modules/deltaspike-jsf-module-impl

/**
 * Performs cleanup tasks after the rendering process
 */
@Override
public void render(FacesContext facesContext)
{
  this.wrapped.render(facesContext);
  
  if (facesContext.getViewRoot() != null && facesContext.getViewRoot().getViewId() != null)
  {
    ViewAccessContext viewAccessContext = contextExtension.getViewAccessScopedContext();
    if (viewAccessContext != null)
    {
      viewAccessContext.onProcessingViewFinished(facesContext.getViewRoot().getViewId());
    }
  }
}

相关文章