if (isPostBack ||
(!facesContext.getExternalContext().getRequestParameterMap().isEmpty() &&
facesContext.getExternalContext().getRequestParameterMap().containsKey("com.sun.faces.StatelessPostback"))) {
facesContext.setProcessingEvents(false);
// try to restore the view
viewRoot = viewHandler.restoreView(facesContext, viewId);
if (viewRoot == null) {
if (is11CompatEnabled(facesContext)) {
// 1.1 -> create a new view and flag that the response should
// be immediately rendered
if (LOGGER.isLoggable(Level.FINE)) {