* java.lang.String)
*/
public UIViewRoot createView(FacesContext facesContext, String viewId) {
AjaxContext ajaxContext = AjaxContext.getCurrentInstance(facesContext);
// Check for simple keep new ViewId in navigation cases.
ViewIdHolder viewIdHolder = ajaxContext.getViewIdHolder();
UIViewRoot riRoot;
if (null != viewIdHolder && viewIdHolder.skipNavigation(viewId)) {
viewIdHolder.setViewId(viewId);
riRoot = facesContext.getViewRoot();
} else {
riRoot = super.createView(facesContext, viewId);
riRoot.addPhaseListener(new RenderPhaseComponentListener());
// Reset ajax request status for a navigation case.