示例#1
0
		public override UIViewRoot restoreView (FacesContext facesContext,
																 String viewId,
																String renderKitId) {

			UIViewRoot uiViewRoot = restoreTreeStructure (facesContext, viewId, renderKitId);
			Page page = (Page) uiViewRoot.getChildren ().get (0);
			if (page.IsPostBack || page.IsCallback)
				restoreComponentState (facesContext, uiViewRoot, renderKitId);
			else
				facesContext.renderResponse ();
			return uiViewRoot;
		}
示例#2
0
        public override UIViewRoot restoreView(FacesContext facesContext,
                                               String viewId,
                                               String renderKitId)
        {
            UIViewRoot uiViewRoot = restoreTreeStructure(facesContext, viewId, renderKitId);
            Page       page       = (Page)uiViewRoot.getChildren().get(0);

            if (page.IsPostBack || page.IsCallback)
            {
                restoreComponentState(facesContext, uiViewRoot, renderKitId);
            }
            else
            {
                facesContext.renderResponse();
            }
            return(uiViewRoot);
        }
示例#3
0
 public override void renderResponse()
 {
     _facesContex.renderResponse();
 }