Package javax.faces.view

Examples of javax.faces.view.StateManagementStrategy.saveView()


               
                if (sms != null)
                {
                    if (log.isLoggable(Level.FINEST)) log.finest("Calling saveView of StateManagementStrategy: "+sms.getClass().getName());
                   
                    serializedView = sms.saveView(facesContext);
                   
                    // If MyfacesResponseStateManager is used, give the option to do
                    // additional operations for save the state if is necessary.
                    if (StateCacheUtils.isMyFacesResponseStateManager(responseStateManager))
                    {
View Full Code Here


                    if (log.isLoggable(Level.FINEST))
                    {
                        log.finest("Calling saveView of StateManagementStrategy: " + sms.getClass().getName());
                    }
                   
                    return sms.saveView(facesContext);
                }
            }
   
            // In StateManagementStrategy.saveView there is a check for transient at
            // start, but the same applies for VDL without StateManagementStrategy,
View Full Code Here

           
            if (sms != null)
            {
                if (log.isLoggable(Level.FINEST)) log.finest("Calling saveView of StateManagementStrategy: "+sms.getClass().getName());
               
                return sms.saveView(facesContext);
            }
        }

        // In StateManagementStrategy.saveView there is a check for transient at
        // start, but the same applies for VDL without StateManagementStrategy,
View Full Code Here

                    if (log.isLoggable(Level.FINEST))
                    {
                        log.finest("Calling saveView of StateManagementStrategy: " + sms.getClass().getName());
                    }
                   
                    serializedView = sms.saveView(facesContext);
                   
                    // If MyfacesResponseStateManager is used, give the option to do
                    // additional operations for save the state if is necessary.
                    if (StateCacheUtils.isMyFacesResponseStateManager(responseStateManager))
                    {
View Full Code Here

                    if (log.isLoggable(Level.FINEST))
                    {
                        log.finest("Calling saveView of StateManagementStrategy: " + sms.getClass().getName());
                    }
                   
                    serializedView = sms.saveView(facesContext);
                   
                    // If MyfacesResponseStateManager is used, give the option to do
                    // additional operations for save the state if is necessary.
                    if (StateCacheUtils.isMyFacesResponseStateManager(responseStateManager))
                    {
View Full Code Here

           
            if (sms != null)
            {
                if (log.isLoggable(Level.FINEST)) log.finest("Calling saveView of StateManagementStrategy: "+sms.getClass().getName());
               
                return sms.saveView(facesContext);
            }
        }

        // In StateManagementStrategy.saveView there is a check for transient at
        // start, but the same applies for VDL without StateManagementStrategy,
View Full Code Here

        if (vdl != null) {
            strategy = vdl.getStateManagementStrategy(context, viewId);
        }

        if (null != strategy) {
            result = strategy.saveView(context);
        } else {
            // honor the requirement to check for id uniqueness
            Util.checkIdUniqueness(context,
                                   viewRoot,
                                   new HashSet<String>(viewRoot.getChildCount() << 1));
View Full Code Here

               
                if (sms != null)
                {
                    if (log.isLoggable(Level.FINEST)) log.finest("Calling saveView of StateManagementStrategy: "+sms.getClass().getName());
                   
                    return sms.saveView(facesContext);
                }
            }
   
            // In StateManagementStrategy.saveView there is a check for transient at
            // start, but the same applies for VDL without StateManagementStrategy,
View Full Code Here

        Map<Object, Object> contextAttributes = context.getAttributes();
        try {
            contextAttributes.put(StateManager.IS_SAVING_STATE, Boolean.TRUE);

            if (null != strategy) {
                result = strategy.saveView(context);
            } else {
                // honor the requirement to check for id uniqueness
                Util.checkIdUniqueness(context,
                        viewRoot,
                        new HashSet<String>(viewRoot.getChildCount() << 1));
View Full Code Here

        if (vdl != null) {
            strategy = vdl.getStateManagementStrategy(context, viewId);
        }

        if (null != strategy) {
            result = strategy.saveView(context);
        } else {
            // honor the requirement to check for id uniqueness
            Util.checkIdUniqueness(context,
                                   viewRoot,
                                   new HashSet<String>(viewRoot.getChildCount() << 1));
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.