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 {
UIViewRoot root = super.createView(facesContext, viewId);
// TODO -setup render-kit where instead of Listener ?