Examples of processSaveState()


Examples of javax.faces.component.UIComponent.processSaveState()

            Map.Entry entry = (Map.Entry) it.next();
            if (facetMap == null)
                facetMap = new HashMap();
            UIComponent component = (UIComponent) entry.getValue();
            if (!component.isTransient()) {
                facetMap.put(entry.getKey(), component.processSaveState(context));
            }
        }
        List childrenList = null;
        if (getChildCount() > 0) {
            for (Iterator it = getChildren().iterator(); it.hasNext();) {
View Full Code Here

Examples of javax.faces.component.UIComponent.processSaveState()

            for (Iterator it = getChildren().iterator(); it.hasNext();) {
                UIComponent child = (UIComponent) it.next();
                if (!child.isTransient()) {
                    if (childrenList == null)
                        childrenList = new ArrayList(getChildCount());
                    childrenList.add(child.processSaveState(context));
                }
            }
        }
   
    removeAlias(context);
View Full Code Here

Examples of javax.faces.component.UIComponent.processSaveState()

                                    new Object[]{
                                        component.getClientId(context),
                                        null,
                                        i,
                                        internalBuildTreeStructureToSave(child),
                                        child.processSaveState(context)}));
                        }
                        else
                        {
                            saveStateOnMap( context, states, child);
                        }
View Full Code Here

Examples of javax.faces.component.UIComponent.processSaveState()

                            states.put(child.getClientId(context),new AttachedFullStateWrapper(new Object[]{
                                component.getClientId(context),
                                facetName,
                                null,
                                internalBuildTreeStructureToSave(child),
                                child.processSaveState(context)}));
                        }
                        else
                        {
                            saveStateOnMap( context, states, child);
                        }
View Full Code Here

Examples of javax.faces.component.UIComponent.processSaveState()

      for (int i = 0; i < childCount; i++)
      {
        UIComponent child = (UIComponent) children.get(i);
        if (!child.isTransient())
        {
          Object childState = child.processSaveState(context);
          if (childState != null)
          {
            _empty = false;
            _children[j] = childState;
          }
View Full Code Here

Examples of javax.faces.component.UIComponent.processSaveState()

        // Just skip over transient facets
        if (facet.isTransient())
          continue;

        Object facetState = facet.processSaveState(context);
        if (facetState != null)
        {
          _empty = false;
          _facets[2 * i] = entry.getKey();
          _facets[2 * i + 1] = facetState;
View Full Code Here

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

        if (viewRoot.isTransient())
        {
            return null;
        }

        Object serializedComponentStates = viewRoot.processSaveState(facesContext);
        //Locale is a state attribute of UIViewRoot and need not be saved explicitly
        if (log.isLoggable(Level.FINEST)) log.finest("Exiting getComponentStateToSave");
        return serializedComponentStates;
    }
View Full Code Here

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

        if (viewRoot.isTransient())
        {
            return null;
        }

        Object serializedComponentStates = viewRoot.processSaveState(facesContext);
        //Locale is a state attribute of UIViewRoot and need not be saved explicitly
        if (log.isLoggable(Level.FINEST)) log.finest("Exiting getComponentStateToSave");
        return serializedComponentStates;
    }
View Full Code Here

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

            if (view.getAttributes().containsKey(COMPONENT_ADDED_AFTER_BUILD_VIEW))
            {
                ensureClearInitialState(view);
                states = new Object[]{
                            internalBuildTreeStructureToSave(view),
                            view.processSaveState(context)};
            }
            else
            {
                states = new HashMap<String, Object>();
View Full Code Here

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

    _removeTransientComponents(root);

    Object structure = (dontSave || !_needStructure(context))
                         ? null
                         : new Structure(root);
    Object state = dontSave ? null : root.processSaveState(context);

    if (_saveAsToken(context))
    {
      String token;
      if (applicationViewCache == null)
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.