context.release();
}
}
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);