Package javax.faces.component

Examples of javax.faces.component.UIViewRoot.clearInitialState()


      // Force view root to use full state saving
      // This is necessary because we recreate the view root on postback when view root caching
      // is enabled and assume that that we can apply the full state
      if (_useViewRootCache(context))
      {
        viewRoot.clearInitialState();
      }
     
      viewState = sms.saveView(context);
    }
    else
View Full Code Here


        // retrieveViewRootInitialState(context, oldView)
        Object viewState = metadata.getViewRootState();
        if (viewState == null)
        {
            // (Optional, it should be always metadata)
            oldView.clearInitialState();
            viewState = oldView.saveState(context);
        }
        boolean oldProcessingEvents = context.isProcessingEvents();
        context.setProcessingEvents(false);
        try
View Full Code Here

          // Force view root to use full state saving
          // This is necessary because we recreate the view root on postback when view root caching
          // is enabled and assume that that we can apply the full state
          if (_useViewRootCache(context))
          {
            viewRoot.clearInitialState();
          }
         
          viewState = sms.saveView(context);
        }
        else
View Full Code Here

      // Force view root to use full state saving
      // This is necessary because we recreate the view root on postback when view root caching
      // is enabled and assume that that we can apply the full state
      if (_useViewRootCache(context))
      {
        viewRoot.clearInitialState();
      }
     
      viewState = sms.saveView(context);
    }
    else
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.